* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Exceptions; use Respect\Validation\Validatable; final class CallException extends NestedValidationException { /** * @var array> */ protected array $defaultTemplates = [ self::MODE_DEFAULT => [ Validatable::TEMPLATE_STANDARD => '{{input}} must be valid when executed with {{callable}}', ], self::MODE_NEGATIVE => [ Validatable::TEMPLATE_STANDARD => '{{input}} must not be valid when executed with {{callable}}', ], ]; }