Exception
Table of Contents
Classes
- MagicFilterException
- Base for every exception thrown from the magic-filter runtime.
- ParamsConflict
- User-facing error: a caller passed mutually-exclusive options to a
MagicFilter builder method (for example `regexp(mode=…, search=…)` —
both at once is meaningless).
- RejectOperations
- Internal flow-control exception: raised by an operation to indicate it
cannot resolve against the current value (missing attribute, key error,
type mismatch, cast failure, …). Caught by `MagicFilter::_resolve`
which then marks the remaining non-`important` operations as rejected
and threads `null` through the chain until either an `important`
operation runs or the chain terminates.
- SwitchMode
- Control-flow exception family used internally by GetItem-style operations
to switch the resolver into "all" or "any" mode over an iterable subject.
- SwitchModeToAll
- Signals the resolver to evaluate the remaining operations against every
element of the current iterable value and accept only when ALL succeed.
- SwitchModeToAny
- Signals the resolver to evaluate the remaining operations against every
element of the current iterable value and accept when ANY succeeds.