Expand description
Definition of external error codes
This module defines a standardized error code system for the following purposes: Client response The API returns the data. Protocol serialization
Error code format: XXYY XX: Error category (00 = Success, 01 = Syntax, 02 = Execution, 03 = Validation, 04 = Permissions, 05 = Resources, 09 = System)
- YY: Specific error
Structs§
- Public
Error - External error message-used to serialize into the response
Enums§
- Error
Category - error category
- Error
Code - External error code – used for client responses
Traits§
- ToPublic
Error - conversion trait of internal errors to external errors