cardinal-errors

Crates.iocardinal-errors
lib.rscardinal-errors
version0.2.41
created_at2025-09-26 02:48:55.582644+00
updated_at2025-11-28 16:33:08.495827+00
descriptionShared error types for the Cardinal gateway stack
homepagehttps://github.com/andrespirela/cardinal
repositoryhttps://github.com/andrespirela/cardinal
max_upload_size
id1855353
size18,260
(andreespirela)

documentation

README

cardinal-errors

Centralised error definitions used across the workspace.

  • CardinalError is the top-level error type exposed by public APIs.
  • internal module holds more granular variants (InternalError::ProviderNotRegistered, InvalidWasmModule, etc.).
  • Conversions are implemented so ? works seamlessly across crate boundaries.

When extending the system, add new variants here rather than inventing ad-hoc error enums in downstream crates.

Commit count: 0

cargo fmt