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 58c927a commit 708ff5dCopy full SHA for 708ff5d
src/TwigComponent/src/Twig/PropsNode.php
@@ -36,7 +36,7 @@ public function compile(Compiler $compiler): void
36
37
if (!$this->hasNode($name)) {
38
$compiler
39
- ->write('throw new \Exception("'.$name.' should be defined for component '.$this->getTemplateName().'");')
+ ->write('throw new \Twig\Error\RuntimeError("'.$name.' should be defined for component '.$this->getTemplateName().'");')
40
->write('}')
41
;
42
0 commit comments