13 releases (6 breaking)

Uses new Rust 2024

0.8.5-alpha Dec 3, 2025
0.8.3-alpha Nov 27, 2025
0.7.0-alpha Nov 5, 2025
0.6.0-alpha Oct 31, 2025
0.2.0-alpha Oct 3, 2025

#530 in Database implementations

Download history 64/week @ 2025-09-27 93/week @ 2025-10-04 187/week @ 2025-10-11 363/week @ 2025-10-18 211/week @ 2025-10-25 26/week @ 2025-11-01 31/week @ 2025-11-08 32/week @ 2025-11-15 32/week @ 2025-11-22 23/week @ 2025-11-29 10/week @ 2025-12-06

98 downloads per month
Used in 19 crates (18 directly)

Apache-2.0

14KB

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:


LLKV Result

llkv-result provides lightweight result and error types and serves as the base set of result types for the LLKV database toolkit.

This crate is not intended for direct standalone use.

License

Licensed under the Apache-2.0 License.

Dependencies

~20MB
~343K SLoC