Create a new exception
Description
If $data
is an instance of Requests_Response, uses the status code from it. Otherwise, sets as 0
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.