(No version information available, might only be in Git)
Gets the error message
final public string Error::getMessage ( void )
Returns the error message.
Returns:
Returns the error message as a string.
Examples:
Error::getMessage() example
<?php
try {
throw new Error("Some error message");
} catch(Error $e) {
echo $e->getMessage();
}
?>
The above example will output something similar to:
Some error message
See also:
Please login to continue.