Answers for "catch error message php"

PHP
0

php exception message

try {
    throw new Exception("Some error message");
} catch(Exception $e) {
    echo $e->getMessage();
}
Posted by: Guest on August-24-2021
0

catch warning php

<?php mysqli_connect_error() ?>
<?php error_reporting(E_ALL); ?>
Posted by: Guest on May-26-2021

Browse Popular Code Answers by Language