Module: errors

Members

(inner, constant) errors

Object representing possible error codes and their message template strings. Anything wrapped in braces, [example], is meant to be a substitution for the template string.

Properties:
NameTypeDescription
invalidModifierstring

The password modifier must be a valid JavaScript Object or JavaScript FormData Object.

toManyAttributesstring

The requested password may only contain [maximum-allowed-attributes] amount of attributes, [provided-number-of-attributes] attributes were selected.

nonGenerableCharacterTypestring

Non Generable Character Type. Attempted to generate a character of type [provided-string]

invalidAttributeTypestring

Attribute [provided-attribute] is supposed to be of type [required-attribute-type]

outOfBoundsAttributeValuestring

Attribute type [provided-attribute] is out of its value bounds.

missingRequiredModifierstring

The Password Modifier must contain one of the following modifiers [list-of-required-attributes].

missingRequiredAttributestring

An object attribute required another attribute to be present and have a value.

excludeCharactersContainedWhitespacestring

Exclude Characters contained whitespace.

Source: