Add documentation for the generic error event

This commit is contained in:
Oliver Akins 2022-03-08 13:23:59 -06:00
parent 02dece1af0
commit 1b01ef971d
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -16,6 +16,22 @@ payloads inherit from the `ServerResponse` type.
---
## `error`
The event that is sent to clients when they cause a significant error to happen
in the server. When this is sent, the status property will never be set to a
value in the success range.
### Supported Event Types
| Request | Response | Broadcasted
| ------- | -------- | -----------
| No | Yes | No
### Payloads
Request Payload: N/A
Response Payload: `ServerResponse`
---
## `server.info`
Retrieves information about the server that the client is currently connected
to.