Skip to content

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.


OBJECT error
bash
{
  "type": "error",
  "code": "ERR_SOMETHING",
  "message": "Something went wrong",
  "param": null,
  "sequence_number": 1
}

那年我双手插兜, 让bug稳如老狗