Class SlimException
Stop Exception
This Exception is thrown when the Slim application needs to abort processing and return control flow to the outer PHP script.
- Exception implements Throwable
-
Slim\Exception\SlimException
Direct known subclasses
Slim\Exception\MethodNotAllowedException,
Slim\Exception\NotFoundException
Methods summary
public
|
#
__construct( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response )
Create new exception |
public
Psr\Http\Message\ServerRequestInterface
|
|
public
Psr\Http\Message\ResponseInterface
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
protected
Psr\Http\Message\ServerRequestInterface
|
$request
A request object |
|
protected
Psr\Http\Message\ResponseInterface
|
$response
A response object to send to the HTTP client |
Properties inherited from Exception
$code,
$file,
$line,
$message