Stud.IP  5.4
ErrorHandler Class Reference

Public Member Functions

 __construct (App $app)
 
 __invoke (ServerRequestInterface $request, Throwable $exception, bool $displayErrorDetails, bool $logErrors, bool $logErrorDetails, ?LoggerInterface $logger=null)
 

Protected Member Functions

 determineStatusCode (Throwable $exception, string $method)
 
 determinePayload (Throwable $exception, bool $displayErrorDetails)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( App  $app)

Member Function Documentation

◆ __invoke()

__invoke ( ServerRequestInterface  $request,
Throwable  $exception,
bool  $displayErrorDetails,
bool  $logErrors,
bool  $logErrorDetails,
?LoggerInterface  $logger = null 
)

◆ determinePayload()

determinePayload ( Throwable  $exception,
bool  $displayErrorDetails 
)
protected

◆ determineStatusCode()

determineStatusCode ( Throwable  $exception,
string  $method 
)
protected

The documentation for this class was generated from the following file: