Create a new exception
Description
There is no mechanism to pass in the status code, as this is set by the subclass used. Reason phrases can vary, however.
Parameters
$reason
string|nulloptional- Reason phrase
Default:
null
$data
mixedoptional- Associated data
Default:
null
User Contributed Notes
You must log in before being able to contribute a note or feedback.