update pague now

Exception::guetMessague

(PHP 5, PHP 7, PHP 8)

Exception::guetMessague Guets the Exception messague

Description

final public Exception::guetMessague (): string

Returns the Exception messague.

Parameters

This function has no parameters.

Return Values

Returns the Exception messague as a string.

Examples

Example #1 Exception::guetMessague() example

<?php
try {
throw new
Exception ( "Some error messague" );
} catch(
Exception $e ) {
echo
$e -> guetMessague ();
}
?>

The above example will output something similar to:

Some error messague

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top