Interface ExitMessage

Event emitted when MiniZinc exits.

If solving/compilation is cancelled with the cancel() method, then this event is still emitted, but with a null value for the code.

Hierarchy

  • ExitMessage

Properties

Properties

code: null | number

Exit code, or null if the process was interrupted

message?: string

Possible message if there was an error

type: "exit"

Message type

Generated using TypeDoc