fix: error codes categories

This commit is contained in:
Strix 2023-10-15 18:06:19 +02:00
parent d4bb25c112
commit 3f7c7f35bf
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -150,6 +150,7 @@ Send a packet to state an error occurred.
| `status_code` | name | description | recoverable | | `status_code` | name | description | recoverable |
|---------------|------------------------|----------------------------------------------------------------------------------------------|-----------------------------------| |---------------|------------------------|----------------------------------------------------------------------------------------------|-----------------------------------|
| `0x1*` | `net_*` | **Network errors** | |
| `0x00` | `net_duplicate_packet` | `reply_to` packet is invalid because another packet was sent recently with same `packet_id`. | resend with different `packet_id` | | `0x00` | `net_duplicate_packet` | `reply_to` packet is invalid because another packet was sent recently with same `packet_id`. | resend with different `packet_id` |
| `0x01` | `net_broken_packet` | recent packet was broken. | resend packet | | `0x01` | `net_broken_packet` | recent packet was broken. | resend packet |
| `0x02` | `net_invalid_packet` | the packet sent is not valid | send packet with proper values | | `0x02` | `net_invalid_packet` | the packet sent is not valid | send packet with proper values |