This commit is contained in:
Fierelier 2021-06-30 17:33:38 +02:00
parent 6c0ec53665
commit 96de8b0c54

View File

@ -40,7 +40,7 @@ If a return is not specified, the command will return `ok`. If arguments are not
The server may add, remove or change commands.
## Error responses
- An error returns as `error,<fatality>,<type>,[info]` or `req,<ID>,<fatality>,<type>,[info]` if `req` was used.
- An error returns as `error,<fatality>,<type>,[info]` or `req,<ID>,error,<fatality>,<type>,[info]` if `req` was used.
- `<fatality>` is either `fatal` or `nonfatal`. `fatal` usually results in the connection being dropped.
- `<type>` is the programmatic name of the error. These are usually lower-case. The types are listed below.
- `[info]` is additional info, meant to be read by a human.