Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

print try catche errors

<?php
try {
    throw new Exception("Some error message");
} catch(Exception $e) {
    echo $e->getMessage();
}
?>
  
 The above example will output something similar to:

Some error message
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #print #catche #errors
ADD COMMENT
Topic
Name
1+3 =