Methods summary
public
|
#
__construct( Interop\Container\ContainerInterface $container )
|
public
string
|
#
renderForConsole( Throwable $e )
Render exception for CLI
Parameters
Returns
string
|
public
Psr\Http\Message\ResponseInterface
|
#
renderHttpResponse( Throwable $e )
Render http response for given exception
Render http response for given exception
Parameters
Returns
Psr\Http\Message\ResponseInterface
|
protected
Whoops\Handler\HandlerInterface
|
#
whoopsHandler( Throwable $e )
Return correct Whoops handler
Return correct Whoops handler
Parameters
Returns
Whoops\Handler\HandlerInterface
|
protected
Whoops\Run
|
#
whoops( )
Return prepared Whoops instance
Return prepared Whoops instance
Returns
Whoops\Run
|
public
|
#
report( Throwable $e )
Report exception
Parameters
|
public
array
|
#
defaultErrorLevelMap( )
Error level map
Returns
array
|
public
string
|
#
codeToString( const $code )
Return error code as string
Return error code as string
Parameters
Returns
string
|