The error object
Emitted when an error occurs.
type string
The type of the event. Always error.
code string
A machine-readable error code.
message string
A human-readable description of the error.
param string
The error parameter.
sequence_number integer
The sequence number of this event.
bash
{
"type": "error",
"code": "ERR_SOMETHING",
"message": "Something went wrong",
"param": null,
"sequence_number": 1
}