Numeric code corresponding to the type of error
Optionalerror?: Record<string, unknown>Custom user-defined error details
Optionalis_True if originating via a standard transition message with an error status
Optionaljob_Optional job identifier, used when communicating errors externally
Descriptive message of the error
Optionalname?: stringName of the error if unhandled
Optionalstack?: stringStack trace of the error if unhandled
Describes the structure of a stream error