Reference
C
Class

ApiPlatform\Exception\ItemNotFoundException

Item not found exception.

class ApiPlatform\Exception\ItemNotFoundException extends ApiPlatform\Exception\InvalidArgumentException implements `<a href="/docs/reference/Exception/ExceptionInterface">ApiPlatform\Exception\ExceptionInterface</a>`, Throwable, Stringable
{
    public __construct(string $message, int $code, null|Throwable $previous)
    public __wakeup()
    public getMessage(): string
    public getCode()
    public getFile(): string
    public getLine(): int
    public getTrace(): array
    public getPrevious(): Throwable
    public getTraceAsString(): string
    public __toString(): string
}
class ApiPlatform\Exception\ItemNotFoundException extends ApiPlatform\Exception\InvalidArgumentException implements `<a href="/docs/reference/Exception/ExceptionInterface">ApiPlatform\Exception\ExceptionInterface</a>`, Throwable, Stringable
{
    public __construct(string $message, int $code, null|Throwable $previous)
    public __wakeup()
    public getMessage(): string
    public getCode()
    public getFile(): string
    public getLine(): int
    public getTrace(): array
    public getPrevious(): Throwable
    public getTraceAsString(): string
    public __toString(): string
}

Properties

message

$message
$message

code

$code
$code

file

string $file
string $file

line

int $line
int $line

Methods

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop