Interface WarningMessage

A warning message from MiniZinc.

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

Indexable

  • [key: string]: any

    Other error-specific data

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: "warning"

Message type

what: string

The kind of warning which occurred