Signal: {
    head?: string;
    message: SignalMessage;
    origin?: SignalOrigin;
    severity?: "warning" | "error";
}

Type declaration

  • Optionalhead?: string

    If applicable, the head of the function about which the signal was raised

  • message: SignalMessage

    An error/warning code or, a code with one or more arguments specific to the signal code.

  • Optionalorigin?: SignalOrigin

    Location where the signal was raised.

  • Optionalseverity?: "warning" | "error"