Skip to main content

Severity

Severity levels for message status tracking. Used with Message.addStatus() and related methods.


At a Glance

const VENDOR = Status.getVendorByName('MyVendor');

if (error) {
message.addStatus(Severity.ERROR, Status.create(VENDOR, 'ILLEGAL_VALUE', value));
}

Enumeration Members

MemberValueDescription
INFO0Informational — no action required
WARNING1Potential issue — worth reviewing
ERROR2Processing error — may affect downstream handling
FATAL3Critical failure — typically stops processing

See Also

  • Message — Add and query status on messages
  • Status — Status object details