Interface ErrorMessage

An error message from MiniZinc.

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


[key: string]: any

Other error-specific data


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