pub enum Raised {
Error(Value),
NoMatch(Value),
Signal(Signal),
}Expand description
Value unwinding through the single error channel (see docs/elly-spec.md).
-
Error(v): Genuine failure (host abort or__Err.raise v). Propagates past__match. -
NoMatch(v): Pattern refutation frommatch_pattern. Only__matchcatches this, falling through to its fallback. Other boundaries treat it asError(v), surfacing the original errorv. -
Signal(s): An iterator loop’s control flow (it.__break, …), caught by the loop that issuedit. Every other boundary passes it on,__Err.catchincluded; one that escapes every loop reads as.not_in_loop.
Kinds are distinguished by construction; user code can only raise Error,
preventing forged NoMatch signals.
Variants§
Error(Value)
A genuine error, propagated by __match.
NoMatch(Value)
A pattern refutation carrying the original error it decays to when uncaught.
Signal(Signal)
A step’s outcome, unwinding to its loop (see eval/iter.rs).