Expand description
Unified error types for the Akar graph database.
Every crate in the workspace returns Result<T, AkarError> (or a
subsystem-specific error that converts into AkarError via From).
The hierarchy is:
AkarError
├── Storage(StorageError)
├── Transaction(TransactionError)
├── Catalog(CatalogError)
├── Binder(BinderError)
├── Planner(PlannerError)
├── Processor(ProcessorError)
├── Parser(String)
├── Io(std::io::Error)
└── Internal(String)Enums§
- Akar
Error - The single error type returned by all public Akar APIs.
- Binder
Error - Errors originating from the binder (semantic analysis).
- Catalog
Error - Errors originating from the catalog layer.
- Planner
Error - Errors originating from the logical planner.
- Processor
Error - Errors originating from the query processor / execution engine.
- Storage
Error - Errors originating from the storage layer.
- Transaction
Error - Errors originating from the transaction manager.
Functions§
- lock_
or_ poisoned - Acquire a mutex guard, converting poison errors into
AkarError::Transaction.
Type Aliases§
- Result
- Convenience alias used throughout the workspace.