php exception message

Solutions on MaxInterview for php exception message by the best coders in the world

showing results for - "php exception message"
Mehdi
04 Apr 2019
1try {
2    throw new Exception("Some error message");
3} catch(Exception $e) {
4    echo $e->getMessage();
5}