Expand description
A crate that groups user-facing and internal error types and codes produced by the Internet Computer.
Structs§
- Error
Code Iter - An iterator over the variants of ErrorCode
- Reject
Code Iter - An iterator over the variants of RejectCode
- User
Error - The error that is sent back to users of IC if something goes wrong. It’s designed to be copyable and serializable so that we can persist it in ingress history.
Enums§
- Error
Code - User-facing error codes.
- Reject
Code - Reject codes are integers that canisters should pass to msg.reject system API calls. These errors are designed for programmatic error handling, not for end-users. They are also used for classification of user-facing errors.
- TryFrom
Error