Module error

Module error 

Source
Expand description

Error types for the agentic-payments system

This module provides comprehensive error handling with:

  • Cryptographic operation errors
  • Consensus and BFT voting errors
  • Agent lifecycle and communication errors
  • Trust chain and validation errors
  • System configuration and initialization errors

All errors include context information and support backtrace capture when the RUST_BACKTRACE environment variable is set.

Enums§

AgentError
Agent lifecycle and communication errors
ConsensusError
Consensus and Byzantine Fault Tolerance errors
CryptoError
Cryptographic operation errors
Error
Top-level error type for all agentic-payments operations
NetworkError
Network and communication errors
SerializationError
Serialization and deserialization errors
SystemError
System configuration and initialization errors
ValidationError
Validation and trust chain errors

Type Aliases§

Result
Result type alias for agentic-payments operations