Variant
error
A common error type used by many functions in this package.
variant error {
generic-error,
invalid-argument,
auxiliary-error,
buffer-len(u64),
unsupported,
http-invalid,
http-user,
http-incomplete,
cannot-read,
http-head-too-large,
http-invalid-status,
limit-exceeded,
}Cases
| Case | Payload | Description |
|---|---|---|
| generic-error | — | Generic error value. |
| invalid-argument | — | Invalid argument. |
| auxiliary-error | — | Auxiliary error value. |
| buffer-len | u64 | Buffer length error. |
| unsupported | — | Unsupported operation error. |
| http-invalid | — | Invalid HTTP error. |
| http-user | — | HTTP user error. |
| http-incomplete | — | HTTP incomplete message error. |
| cannot-read | — | Cannot read. |
| http-head-too-large | — | Message head too large. |
| http-invalid-status | — | Invalid HTTP status. |
| limit-exceeded | — | Limit exceeded |