Class: ParseError

Hierarchy

↳ LiquidError

↳ ParseError

Constructors

constructor

+ new ParseError(err: Error, token: Token): ParseError

Overrides LiquidError.constructor

Defined in src/util/error.ts:32

Parameters:

Name Type
err Error
token Token

Returns: ParseError

Properties

context

• context: string

Inherited from LiquidError.context

Defined in src/util/error.ts:7


message

• message: string

Inherited from LiquidError.message

Defined in node_modules/typescript/lib/lib.es5.d.ts:1023


name

• name: string

Inherited from LiquidError.name

Defined in node_modules/typescript/lib/lib.es5.d.ts:1022


Optional stack

• stack? : undefined | string

Inherited from LiquidError.stack

Defined in node_modules/typescript/lib/lib.es5.d.ts:1024

Methods

Protected update

▸ update(): void

Inherited from LiquidError.update

Defined in src/util/error.ts:15

Returns: void