Copied!

ValidationFailedException

ValidationFailedException.php : 15

This exception is thrown if a service method is called with an illegal or non appropriate value.

Methods

public__construct()

ValidationFailedException.php : 19
public __construct(string $argumentName, ConstraintViolationListInterface $errors[, Exception $previous = null ])

Parameters

Name Type Default value Description
$argumentName string - -
$errors ConstraintViolationListInterface - -
$previous Exception null -

publicgetErrors()

ValidationFailedException.php : 29
public getErrors() : ConstraintViolationListInterface

Return values

ConstraintViolationListInterface