Skip to main content

Module errors

Module errors 

Source
Expand description

The shared error vocabulary for cross-cutting core primitives.

This is a closed enum (deliberately not #[non_exhaustive]): the core surface is small and every variant is enumerated so callers get compile-time exhaustiveness on match. Subsystem crates define their own richer error types (GatewayError, RunError, ProtocolFault, …); this enum covers only the primitives that live in indusagi-core.

Per the cancellation contract (02_MODULE_CONVERSION_GUIDE.md §1.5), a cancelled operation yields a typed error — CoreError::Cancelled — never a panic. Tools/connectors fold that into their own typed outcomes at the seam; nothing in core ever swallows it into an Ok.

Enums§

CoreError
The closed error vocabulary for indusagi-core primitives.

Type Aliases§

CoreResult
Convenience alias for results carrying a CoreError.