Add documentation for the generic error event
This commit is contained in:
parent
02dece1af0
commit
1b01ef971d
1 changed files with 16 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue