We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245f417 commit 8d2b794Copy full SHA for 8d2b794
src/Keyword/Exception/StaticKeywordAnalysisException.php
@@ -14,7 +14,11 @@ public function __construct(
14
private readonly StaticKeywordInterface $keyword,
15
private readonly StaticEvaluationContext $context
16
) {
17
- parent::__construct(sprintf($message, $this->keyword->getName()));
+ parent::__construct(
18
+ sprintf($message, $this->keyword->getName())
19
+ . ' at location '
20
+ . $context->getCurrentSchemaKeywordLocation()
21
+ );
22
}
23
24
public function getContext(): StaticEvaluationContext
0 commit comments