Expand description
The error model: the Rust replacement for Java varar-core’s typed exception
hierarchy (CellMismatchException,
ReturnShapeException, UnexpectedPassException, author AssertionError).
Result/panic-catch replace throw; instanceof dispatch becomes match.
Structs§
- Failure
Location - Where a failure points in the
.md— the structural replacement for Java’s syntheticStackTraceElementinjection.lineis the anchor’s start line (all a rendered stack frame can show);anchoris its full offset range, so a renderer can underline the failing step instead of its whole line. - Handler
Error - A handler-signalled failure (author
Err(...)or a caught panic) — the analog of an arbitrary thrownRuntimeException/AssertionError. - Step
Failure - A caught step failure plus its (optional) source location.
Enums§
- Registry
Error - A registration-time (author-wiring) error — never a step failure.
- Step
Error - A step failure verdict — the closed union replacing the exception hierarchy.