com\setasign\SetaFramework\Controller
ErrorControllerInterface
File: /SetaFramework/src/Controller/ErrorControllerInterface.php
Implemented in
Summary
Methods
__construct()
ErrorControllerInterface constructor.
Parameters
- $httpFactory: \com\setasign\SetaFramework\Http\HttpFactoryInterface
- $isDebug: bool
handleError()
This method must not throw an error!
Parameters
- $request: \com\setasign\SetaFramework\Request\ServerRequest
- $error: \Throwable
handleMinorError()
abstract public ErrorControllerInterface::handleMinorError (
\com\setasign\SetaFramework\Request\ServerRequest $request,
\Psr\Http\Message\ResponseInterface $response,
array $catchedErrors,
string $unexpectedOutput,
string[] $additionalLoggingOutputs
): \Psr\Http\Message\ResponseInterface\Psr\Http\Message\ResponseInterface $response,
array $catchedErrors,
string $unexpectedOutput,
string[] $additionalLoggingOutputs
Parameters
- $request: \com\setasign\SetaFramework\Request\ServerRequest
- $response: \Psr\Http\Message\ResponseInterface
- $catchedErrors: array
- $unexpectedOutput: string
- $additionalLoggingOutputs: string[]
