Expand description
Top-level error type for mnem-core.
Each module defines its own thiserror-based error enum that From-converts
into Error. Public-facing APIs return Result<T, Error>.
mnem-core never panics on user input. Invariant violations that are
logically impossible (e.g. a NodeId of the wrong length after validated
construction) use debug_assert! in debug builds and return Error in
release builds.
Enums§
- Codec
Error - Errors from
crate::codec- canonical encode/decode. - Error
- Top-level error type returned by
mnem-corepublic APIs. - IdError
- Errors from
crate::id- stable IDs, multihash, CID, link. - Object
Error - Errors from
crate::objects- Node/Edge/Tree/… validation and decode. - Repo
Error - Errors from
crate::repo- repository lifecycle operations. - Sign
Error - Errors from
crate::sign- commit / operation signing + verification. - Store
Error - Errors from
crate::store- blockstore operations.
Type Aliases§
- Result
- Convenient result alias.