Reference
C
Class

ApiPlatform\Exception\FilterValidationException

Filter validation exception.

class ApiPlatform\Exception\FilterValidationException extends Exception implements Stringable, Throwable, `<a href="/docs/reference/Exception/ExceptionInterface">ApiPlatform\Exception\ExceptionInterface</a>`
{
    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
}
class ApiPlatform\Exception\FilterValidationException extends Exception implements Stringable, Throwable, `<a href="/docs/reference/Exception/ExceptionInterface">ApiPlatform\Exception\ExceptionInterface</a>`
{
    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
$message

code

$code
$code

file

string $file
string $file

line

int $line
int $line

Methods

__construct

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

Parameters

constraintViolationListarray
messagestring
codeint
previousException

__toString

public __toString(): string
public __toString(): string

Returns

string

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop