classInvariantViolation
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.
\SqlSemantics\Platform\MySql\Model\Diagnostic\Check::invariant(false, 'The rendered SQL lost a predicate.') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\InvariantViolationRelations§
Instantiated in 8
- new SqlSemantics\Platform\MySql\Model\Diagnostic\Check::invariant() packages/sql-semantics-mysql/src/Model/Diagnostic/Check.php:64
- new SqlSemantics\Platform\MySql\Model\Validation\Publication::establish() packages/sql-semantics-mysql/src/Model/Validation/Publication.php:69
- new SqlSemantics\Platform\MySql\Model\Validation\Spellings::tree() packages/sql-semantics-mysql/src/Model/Validation/Spellings.php:69
- new SqlSemantics\Platform\MySql\Model\Validation\Spellings::tokens() packages/sql-semantics-mysql/src/Model/Validation/Spellings.php:84
- new SqlSemantics\Platform\MySql\Rules\Call\ResultTyping::type() packages/sql-semantics-mysql/src/Rules/Call/ResultTyping.php:96
- new SqlSemantics\Platform\MySql\Rules\Call\ResultTyping::nullability() packages/sql-semantics-mysql/src/Rules/Call/ResultTyping.php:253
- new SqlSemantics\Platform\MySql\Rules\Call\TypeClass::foreign() packages/sql-semantics-mysql/src/Rules/Call/TypeClass.php:138
- new SqlSemantics\Platform\MySql\Rules\Utility\ShowRows::type() packages/sql-semantics-mysql/src/Rules/Utility/ShowRows.php:128