ApiErrorException
class ApiErrorException extends RuntimeException (View source)
Methods
__construct(string $message = "", int $code = 0, Throwable|null $previous = null, array $details = [])
No description
array
getDetails()
Get additional error details
mixed
getDetail(string $key, mixed $default = null)
Get a specific detail by key
bool
hasDetail(string $key)
Check if a specific detail exists
Details
__construct(string $message = "", int $code = 0, Throwable|null $previous = null, array $details = [])
No description
array
getDetails()
Get additional error details
mixed
getDetail(string $key, mixed $default = null)
Get a specific detail by key
bool
hasDetail(string $key)
Check if a specific detail exists