The constructor for Gobstones Parser errors.
The token found in the SourceInput when the error was discovered.
A string indicating where to locate the concrete error message.
Its value is expected to be one of the error fields corresponding to the
field Parser.error
of the the translator | Locale of the component.
Optional
interpolations: Record<string, any>A record indicating values for interpolations used in the value associated with
the key
given.
Its value is expected to match with the arguments of the corresponding key in the
translator | Locale of the component.
It may be undefined if there are none, in which case the empty record is used.
Private
_tokenThe token that was found when expecting another one.
A specialization of GError for the use of the Gobstones parser.