Skip to main content

Module error

Module error 

Source
Expand description

Comprehensive error types for bones-core.

Every error explains what went wrong, why, and how to fix it. Errors are organized by category and carry stable machine-readable codes for programmatic handling via --json.

§Error Code Ranges

RangeCategory
E1xxxConfiguration
E2xxxDomain model
E3xxxData integrity
E4xxxEvent operations
E5xxxI/O and system
E6xxxSearch/index
E9xxxInternal

Structs§

JsonError
JSON-serializable error payload for --json mode.

Enums§

BonesError
Top-level error type for all bones-core operations.
ConfigError
Errors related to configuration loading and validation.
ErrorCode
Machine-readable error codes for agent-friendly decision making.
EventError
Errors related to event parsing, writing, and validation.
IoError
Errors related to filesystem and I/O operations.
LockError
Errors related to concurrency and locking.
ModelError
Errors related to domain model violations.
ProjectionError
Errors related to the SQLite projection layer.