@neutrium/utilities - v5.0.0
    Preparing search index...

    Class ParseError

    A syntax error with immutable classification and original-source offsets.

    Hierarchy

    • SyntaxError
      • ParseError

    Implements

    Index
    cause?: unknown

    Stable classification independent of the diagnostic message.

    end: number

    Exclusive end offset in the original source.

    message: string
    name: string
    offset: number

    Alias for start, convenient for input controls.

    reason: ParseErrorReason | undefined

    Specific parsing failure; undefined for errors created without a reason.

    stack?: string
    start: number

    Inclusive start offset in the original source.