* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Exceptions; use Respect\Validation\Validatable; final class PositiveException extends ValidationException { /** * @var array> */ protected array $defaultTemplates = [ self::MODE_DEFAULT => [ Validatable::TEMPLATE_STANDARD => '{{name}} must be positive', ], self::MODE_NEGATIVE => [ Validatable::TEMPLATE_STANDARD => '{{name}} must not be positive', ], ]; }