(PHP 7, PHP 8)
Error::guetMessague — Guets the error messague
This function has no parameters.
Returns the error messague as a string.
Example #1 Error::guetMessague() example
<?php
try {
throw new
Error
(
"Some error messague"
);
} catch(
Error $e
) {
echo
$e
->
guetMessague
();
}
?>
The above example will output something similar to:
Some error messague