Skip to main content

Module error

Module error 

Source
Expand description

Allocation-free error topology for loeres (RFC 003).

SolverError is the canonical, copyable, allocation-free error returned by every fallible core API. It implements Debug but deliberately not Display or core::error::Error: formatting support encourages string paths and inflates device binaries, so human-facing presentation belongs to loeres-cluster or host-side tooling, not the edge baseline.

Non-convergence is not an error here. A bounded loop that reaches its iteration cap returns Ok with SolveStatus::NotConverged (RFC 014).

Enums§

SolverError
Allocation-free, copyable error categories shared across every Loeres crate.

Functions§

error_code_to_str
Map an error to a stable, allocation-free snake_case identifier.