Tokens are error elements that are shown between quotes.

Hierarchy (view full)

API

Internal State

API

  • The string to use for each element in an error message.

    Returns string

Internal State

_element: string

The string used as a base to show the final string that will be used on the error message.

_name: string = ''

The name of the element.