classSemanticException
final class SemanticException
extends RuntimeException
implements AnalysisException
Public API: explicitly declared with
@visibility public.Semantic problems established while analyzing grammatical SQL.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT * FROM t', []) // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticExceptionProperties§
public non-empty-list<Diagnostic> $diagnosticsMethods§
public function __construct(public non-empty-list<Diagnostic> $diagnostics)Parameters
$diagnostics | non-empty-list<Diagnostic> | The problems in derivation order |
Calls 4
- static-call
RuntimeException::__construct()line 24 - function-call
implodeline 24 - function-call
array_mapline 24 - method-call Diagnostic::message() line 24
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.