Skip to main content

Module error

Module error 

Source
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§

AkarError
The single error type returned by all public Akar APIs.
BinderError
Errors originating from the binder (semantic analysis).
CatalogError
Errors originating from the catalog layer.
PlannerError
Errors originating from the logical planner.
ProcessorError
Errors originating from the query processor / execution engine.
StorageError
Errors originating from the storage layer.
TransactionError
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.