Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParserError

A ParseFn throws a ParseError when the ParseInput cannot be transformed to the parsers target type.

Hierarchy

  • Error
    • ParserError

Index

Constructors

Properties

Constructors

constructor

  • new ParserError(expected: string, found: string): ParserError

Properties

expected

expected: string

found

found: string

Static Error

Error: ErrorConstructor

Static message

message: string

Static name

name: string

Static Optional stack

stack: string

Generated using TypeDoc