ExpressionErrorException
public function getExtension(string $name) : Extension\ExtensionInterface { if (!isset($this->extensions[$name])) { throw new ExpressionErrorException(\sprintf('Extension "%s" not registered.', $name)); } return $this->extensions[$name]; }