__construct()
__construct(string $message = '', integer $code, \Throwable|null $previous = null)
ResponseException constructor.
Parameters
string | $message | the message |
integer | $code | the code to throw |
\Throwable|null | $previous | the previous thrown |