You are here

protected static property Isbn::$errorNames in Plug 7

Maps error codes to the names of their constants

Type: array

Overrides Constraint::$errorNames

File

lib/Symfony/validator/Symfony/Component/Validator/Constraints/Isbn.php, line 32

Class

Isbn
@Target({"PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::TOO_SHORT_ERROR => 'TOO_SHORT_ERROR',
  self::TOO_LONG_ERROR => 'TOO_LONG_ERROR',
  self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
  self::CHECKSUM_FAILED_ERROR => 'CHECKSUM_FAILED_ERROR',
  self::TYPE_NOT_RECOGNIZED_ERROR => 'TYPE_NOT_RECOGNIZED_ERROR',
);