Skip to content

Latest commit

 

History

History
112 lines (51 loc) · 1.18 KB

File metadata and controls

112 lines (51 loc) · 1.18 KB

Home > @csstools/css-calc > ParseError

ParseError class

Any errors are reported through the onParseError callback.

Signature:

export declare class ParseError extends Error 

Extends: Error

Constructors

Constructor

Modifiers

Description

(constructor)(message, sourceStart, sourceEnd)

Constructs a new instance of the ParseError class

Properties

Property

Modifiers

Type

Description

sourceEnd

number

The index of the end character of the current token.

sourceStart

number

The index of the start character of the current token.