PiDraw API
    Preparing search index...

    Interface IDrawError

    What was wrong in one line of code.

    interface IDrawError {
        error: PiDrawError;
        from?: number;
        line: number;
        message: string;
        severity: DrawSeverity;
        text: string;
        to?: number;
    }
    Index

    The error itself: a ParseError, or an OptionError for an option.

    from?: number

    The part of the line that is wrong, in columns of the line as it is written (from 0, to not included): the option that is not valid. Without them, it is the whole line.

    line: number

    The number of the line in the code, from 1.

    message: string
    severity: DrawSeverity
    text: string

    The line, without the spaces around it.

    to?: number