ErrorHandler
implements
ErrorHandler
Interfaces, Classes, Traits and Enums
- ErrorHandler
Table of Contents
-
$logger
: LoggerInterface
-
__construct()
: mixed
-
handleCreateColumnIsNullError()
: ResponseInterface|false
-
handleCreateReferenceFailedError()
: ResponseInterface|false
-
handleCreateUniqueFailedError()
: ResponseInterface|false
-
handleDeleteReferencedError()
: ResponseInterface|false
-
handleInternalServerError()
: ResponseInterface|false
-
handleInvalidDateFormatError()
: ResponseInterface|false
-
handleMissingFieldsError()
: ResponseInterface|false
-
handleNotFound()
: ResponseInterface|false
-
handleUpdateColumnIsNullError()
: ResponseInterface|false
-
handleUpdateReferenceFailedError()
: ResponseInterface|false
-
handleUpdateUniqueFailedError()
: ResponseInterface|false
$logger
private
LoggerInterface
$logger
__construct()
public
__construct() : mixed
Return values
mixed
—
handleCreateColumnIsNullError()
public
handleCreateColumnIsNullError(ServerRequestInterface $request, CreateColumnIsNullException $createColumnIsNullException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$createColumnIsNullException
: CreateColumnIsNullException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleCreateReferenceFailedError()
public
handleCreateReferenceFailedError(ServerRequestInterface $request, CreateReferenceFailedException $createReferenceFailedException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$createReferenceFailedException
: CreateReferenceFailedException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleCreateUniqueFailedError()
public
handleCreateUniqueFailedError(ServerRequestInterface $request, CreateUniqueFailedException $createUniqueFailedException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$createUniqueFailedException
: CreateUniqueFailedException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleDeleteReferencedError()
public
handleDeleteReferencedError(ServerRequestInterface $request, DeleteReferencedException $deleteReferencedException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$deleteReferencedException
: DeleteReferencedException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleInternalServerError()
public
handleInternalServerError(ServerRequestInterface $request, Throwable $throwable) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$throwable
: Throwable
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
public
handleInvalidDateFormatError(ServerRequestInterface $request, InvalidDateFormatException $invalidDateFormatException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$invalidDateFormatException
: InvalidDateFormatException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleMissingFieldsError()
public
handleMissingFieldsError(ServerRequestInterface $request, MissingFieldsException $missingFieldsException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$missingFieldsException
: MissingFieldsException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleNotFound()
public
handleNotFound(ServerRequestInterface $request, NotFoundException $notFoundException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$notFoundException
: NotFoundException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleUpdateColumnIsNullError()
public
handleUpdateColumnIsNullError(ServerRequestInterface $request, UpdateColumnIsNullException $updateColumnIsNullException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$updateColumnIsNullException
: UpdateColumnIsNullException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleUpdateReferenceFailedError()
public
handleUpdateReferenceFailedError(ServerRequestInterface $request, UpdateReferenceFailedException $updateReferenceFailedException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$updateReferenceFailedException
: UpdateReferenceFailedException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—
handleUpdateUniqueFailedError()
public
handleUpdateUniqueFailedError(ServerRequestInterface $request, UpdateUniqueFailedException $updateUniqueFailedException) : ResponseInterface|false
Parameters
-
$request
: ServerRequestInterface
-
-
$updateUniqueFailedException
: UpdateUniqueFailedException
-
-
throws
-
JsonException
Return values
ResponseInterface|false
—