Class SS_HTTPResponse_Exception
A SS_HTTPResponse encapsulated in an exception, which can interrupt
the processing flow and be caught by the RequestHandler and returned to
the user.
Example Usage:
throw new SS_HTTPResponse_Exception('This request was invalid.', 400); throw new SS_HTTPResponse_Exception(new SS_HTTPResponse('There was an internal server error.', 500));
- Exception
-
SS_HTTPResponse_Exception
Package: sapphire\control
Used by:
Located at sapphire/core/control/HTTPResponse.php
Used by:
RequestHandler::httpError() Located at sapphire/core/control/HTTPResponse.php
Methods summary
public
|
|
public
|
|
public
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Magic methods summary
Properties summary
protected
mixed
|
$response |