Expand description
Type-erased error handling for callback boundaries.
User-provided callbacks (objective functions, detection functions, Python
callables) can fail with error types that lox-core cannot name. LoxError
erases those types so they can travel through solvers and detectors, while
find_source recovers them at the boundary via downcasting.
Structs§
- LoxError
- A type-erased error carrying an arbitrary failure across an abstraction boundary.
Functions§
- find_
source - Searches
errand its source chain for an error of typeE.
Type Aliases§
- Boxed
Error - A boxed, type-erased error.