Expand description
Zero-dependency error handling for nexcore ecosystem.
Replaces thiserror and anyhow with zero external dependencies.
Modules§
- prelude
- Commonly used items for glob import.
Macros§
- bail
- Return early with an error.
- ensure
- Return early with an error if a condition is not satisfied.
- nexerror
- Creates a new
NexErrorfrom a format string.
Structs§
- NexError
- A type-erased error that can hold any error type.
Traits§
- Context
- Extension trait to add context to errors.
Type Aliases§
- Result
- A convenient
Resulttype alias usingNexError.
Derive Macros§
- Error
- Re-export the derive macro so users can
use nexcore_error::Error;DeriveDisplayandstd::error::Errorfor an enum or struct.