mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
17 lines
No EOL
376 B
PHP
17 lines
No EOL
376 B
PHP
<?php
|
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class EmailException extends ValidationException
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
self::MODE_DEFAULT => array(
|
|
self::STANDARD => '{{name}} must be valid email',
|
|
),
|
|
self::MODE_NEGATIVE => array(
|
|
self::STANDARD => '{{name}} must not be an email',
|
|
)
|
|
);
|
|
|
|
} |