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)


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


  • Tweaks the error message to include suggestions.


    • name: string

      The original name of the item that does not exist

    • items: string[]

      An array of possible items

    Returns void

Generated using TypeDoc