final class InvariantViolation
    extends LogicException
Public API: explicitly declared with @visibility public.

A candidate model that failed a correspondence or integrity check before publication.

It is a defect of the library. The candidate is discarded; it is never returned as an operation or downgraded to an unknown value.

Raising the failure of an internal checkdoctest
\SqlSemantics\Platform\Sqlite\Model\Diagnostic\Check::invariant(false, 'The rendered SQL lost a predicate.') // throws \SqlSemantics\Platform\Sqlite\Model\Diagnostic\InvariantViolation

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 5