Interface TwingParsingError

interface TwingParsingError {
    location: undefined | TwingErrorLocation;
    name: "TwingParsingError";
    previous: any;
    rootMessage: string;
    source: undefined | string;
    addSuggestions(name, items): void;
    appendMessage(message): void;
}

Hierarchy (view full)

Properties

location: undefined | TwingErrorLocation
name: "TwingParsingError"
previous: any
rootMessage: string
source: undefined | string

Methods

  • Tweaks the error message to include suggestions.

    Parameters

    • name: string

      The original name of the item that does not exist

    • items: string[]

      An array of possible items

    Returns void

Generated using TypeDoc