darkfi_
sdk
0.4.1
Module error
Module Items
Macros
Enums
Constants
Type Aliases
In crate darkfi_
sdk
darkfi_sdk
Module
error
Copy item path
Source
Expand description
Error handling
Macros
§
to_
builtin
🔒
Builtin return values occupy the upper 32 bits
Enums
§
Contract
Error
Error codes available in the contract.
Dark
Tree
Error
General DarkTree related errors.
Constants
§
CALLER_
ACCESS_
DENIED
CUSTOM_
ZERO
DATA_
TOO_
LARGE
DB_
CONTAINS_
KEY_
FAILED
DB_
DEL_
FAILED
DB_
GET_
EMPTY
DB_
GET_
FAILED
DB_
INIT_
FAILED
DB_
LOOKUP_
FAILED
DB_
NOT_
FOUND
DB_
SET_
FAILED
GET_
SYSTEM_
TIME_
FAILED
HEX_
FMT_
ERR
INTERNAL_
ERROR
INVALID_
FUNCTION
IO_
ERROR
NULLIFIER_
EXIST_
CHECK
SET_
RETVAL_
ERROR
SMT_
DEL_
FAILED
SMT_
PUT_
FAILED
UPDATE_
ALREADY_
SET
VALID_
MERKLE_
CHECK
Type Aliases
§
Contract
Result
Dark
Tree
Result
Main result type used by DarkTree.
Generic
Result