Error module

OpenSEFA.ErrorModule — Module

Custom exception types for the solver.

The error hierarchy is:

  • SolverError — abstract base for all solver errors.
    • ContradictionError — the problem is contradictory (no feasible solution exists).
      • InfeasibleEquationError — a specific equation cannot be satisfied.
      • IllposedProblemError — the problem is ill-posed (e.g. duplicate variable names).
    • InternalError — unexpected internal state; indicates a bug.
  • FileIOError — file input/output failure (not a SolverError).
source