Exception::getMessageGets the Exception message Description
final public string Exception::getMessage
( void
)
Returns the Exception message. ParametersThis function has no parameters. Return ValuesReturns the Exception message as a string. Examples
Example #1 Exception::getMessage example
<?php The above example will output something similar to: Some error message |