Skip to main content

Module error

Module error 

Source
Expand description

Verification error types with Socratic error messages.

§Philosophy

Errors in this module follow the Socratic method: they guide users toward understanding rather than simply reporting failures. Each error type includes:

  • A clear description of what went wrong
  • Context about why it matters
  • Guidance on how to address the issue
  • When available, a concrete counterexample

§Error Categories

CategoryError TypesUser Action
LogicContradictoryAssertion, BoundsViolation, RefinementViolationFix the logical issue
LicenseLicenseRequired, LicenseInvalid, LicenseInsufficientPlanProvide valid license
SolverSolverUnknown, SolverErrorSimplify or restructure
TerminationTerminationViolationAdd decreasing variant

Structs§

CounterExample
A counterexample showing concrete values that falsify an assertion.
VerificationError
A verification error with Socratic explanation.

Enums§

VerificationErrorKind
The category of verification error.

Type Aliases§

VerificationResult
Result type for verification operations.