Crate llkv_result

Crate llkv_result 

Source
Expand description

Error types and result definitions for the LLKV database system.

Ideally, this crate would provide a unified error type (Error) and result type alias (Result<T>) used throughout all LLKV crates. All operations that could fail return Result<T>, where the error variant contains detailed information about what went wrong. However, some of the crates do still have their own error types, which is a work in progress to unify.

§Error Philosophy (still a work in progress to implement fully across all crates)

LLKV uses a single error enum (Error) rather than crate-specific error types.

This approach:

  • Simplifies error handling across crate boundaries
  • Allows errors to propagate naturally with ? operator
  • Provides clear error messages for end users
  • Enables structured error matching for programmatic handling

§Error Categories

Errors are organized into several categories:

Re-exports§

pub use error::Error;
pub use result::Result;

Modules§

error
result