Expand description
Error types for the Hierarchies library
This module re-exports all domain-specific error types used throughout the library, providing a single location for users to discover and import error types.
§Error Architecture
The Hierarchies library uses domain-specific error types instead of a monolithic error enum. Each domain has its own error type that provides detailed context for that specific area:
§Common Errors
NetworkError- Network and RPC related errorsConfigError- Configuration and setup errorsObjectError- Object retrieval and manipulation errors
§Core Operation Errors
OperationError- Composite error for Hierarchies operationsCapabilityError- Capability verification and management
§Client Errors
ClientError- Full client operations (read/write)
§Transaction Errors
TransactionError- Transaction building and execution
Re-exports§
pub use crate::client::ClientError;pub use crate::core::transactions::TransactionError;pub use crate::core::CapabilityError;pub use crate::core::OperationError;
Enums§
- Config
Error - Configuration-related errors
- Network
Error - Network-related errors that can occur during RPC operations
- Object
Error - Object lookup and retrieval errors