Method | Description | |
---|---|---|
__construct ( string $message, integer $code, Exception $previous = null, Psr\Http\Message\RequestInterface $request = null, Psr\Http\Message\ResponseInterface $response = null, array $handlerContext = [] ) | Constructor | |
getHandlerContext ( ) : array | Get the context | |
getRequest ( ) : Psr\Http\Message\RequestInterface | Get the request | |
getResponse ( ) : Psr\Http\Message\ResponseInterface | Get the response | |
hasResponse ( ) : boolean | If a response exists |
public __construct ( string $message, integer $code, Exception $previous = null, Psr\Http\Message\RequestInterface $request = null, Psr\Http\Message\ResponseInterface $response = null, array $handlerContext = [] ) | ||
$message | string | |
$code | integer | |
$previous | Exception | |
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$handlerContext | array |
public getRequest ( ) : Psr\Http\Message\RequestInterface | ||
return | Psr\Http\Message\RequestInterface |
public getResponse ( ) : Psr\Http\Message\ResponseInterface | ||
return | Psr\Http\Message\ResponseInterface |