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\PostgreSql\Model\Diagnostic\Check::invariant(false, 'The rendered SQL lost a predicate.') // throws \SqlSemantics\Platform\PostgreSql\Model\Diagnostic\InvariantViolation

Relations§

Instantiated in 4