setMessage()
setMessage(string|mixed $message) : $this
Change the exception's error message via fluent interface call.
Parameters
string|mixed | $message | Set a different error message. |
Returns
$this —The exception object.