WithHttpStatusInterface
interface WithHttpStatusInterface (View source)
Marks Exceptions having a HTTP status code to return.
Methods
int
getStatusCode()
Returns the HTTP status code this exception corresponds to.
Details
int
getStatusCode()
Returns the HTTP status code this exception corresponds to.
Should default to 500.