respect-validation/library/Exceptions/NegativeException.php
2014-07-12 20:20:43 +01:00

16 lines
375 B
PHP

<?php
namespace Respect\Validation\Exceptions;
class NegativeException extends ValidationException
{
public static $defaultTemplates = array(
self::MODE_DEFAULT => array(
self::STANDARD => '{{name}} must be negative',
),
self::MODE_NEGATIVE => array(
self::STANDARD => '{{name}} must not be negative',
)
);
}