setMessage()
setMessage(string|mixed $message)
Change the exception's error message via fluent interface call.
Parameters
string|mixed | $message | Set a different error message. |
Interface EditableExceptionInterface - Interface allowing exceptions to have property setter methods.