MiniZinc JavaScript
    Preparing search index...

    Interface ErrorMessage

    An error message from MiniZinc.

    interface ErrorMessage {
        location?: Location;
        message: string;
        stack?: StackItem[];
        type: "error";
        what: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Other error-specific data

    Index

    Properties

    location?: Location

    The file location if there is one

    message: string

    The error message

    stack?: StackItem[]

    The stack trace is there is one

    type: "error"

    Message type

    what: string

    The kind of error which occurred