References FilterValidationException
Reference
C
Class

ApiPlatform\Exception\FilterValidationException

Filter validation exception.

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

Properties

message

$message

code

$code

file

string $file

line

int $line

Methods

__construct

public __construct(array $constraintViolationList, string $message, int $code, null|Exception $previous)

Parameters

constraintViolationListarray
messagestring
codeint
previousException

__toString

public __toString(): string

Returns

string

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop