EntityNotFoundException
extends DomainException
in package
Basic exception for domain errors
Table of Contents
Properties
- $context : array<string|int, mixed>
- $errorCode : string
- $httpStatusCode : int
Methods
- __construct() : mixed
Properties
$context read-only
public
array<string|int, mixed>
$context
= []
$errorCode read-only
public
string
$errorCode
$httpStatusCode read-only
public
int
$httpStatusCode
= 400
Methods
__construct()
public
__construct([string $message = 'entity.not_found' ][, string $errorCode = 'ENTITY_NOT_FOUND' ][, array<string, mixed> $context = [] ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = 'entity.not_found'
- $errorCode : string = 'ENTITY_NOT_FOUND'
- $context : array<string, mixed> = []
- $previous : Throwable|null = null