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

16 lines
408 B
PHP

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