Interface ParseErrorOptions

Options for creating a parse error.

interface ParseErrorOptions {
    cause?: unknown;
    position?: Position;
}

Hierarchy

  • ErrorOptions
    • ParseErrorOptions

Properties

Properties

cause?: unknown
position?: Position

The position where the error occurred.