# Enum validation_error

- Defined in File validate.hpp

## Enum Documentation

enum class cif::validation_error

  A stronly typed class containing the error codes reported by cif::validator and friends.

  Values:

  enumerator value_does_not_match_rx

    The value of an item does not conform to the regular expression specified for it

  enumerator value_is_not_in_enumeration_list

    The value of an item is not in the list of values allowed

  enumerator value_is_not_a_number

    The value is not a number

  enumerator value_is_not_a_char_string

    The value is not a character string

  enumerator not_a_known_primitive_type

    The type is not a known primitive type

  enumerator undefined_category

    Category has no definition in the dictionary

  enumerator unknown_item

    The item is not defined to be part of the category

  enumerator incorrect_item_validator

    Incorrectly specified validator for item

  enumerator missing_mandatory_items

    Missing mandatory items

  enumerator missing_key_items

    An index could not be constructed due to missing key items

  enumerator item_not_allowed_in_category

    Requested item allowed in category according to dictionary

  enumerator empty_file

    The file contains no datablocks

  enumerator empty_datablock

    The datablock contains no categories

  enumerator empty_category

    The category is empty

  enumerator not_valid_pdbx

    The file is not a valid PDBx file