Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php throw exception get message

try {
  // code...
} catch (Throwable $th) {
  var_dump($th->getMessage());
}
 
PREVIOUS NEXT
Tagged: #php #throw #exception #message
ADD COMMENT
Topic
Name
3+8 =