Lines Matching refs:RuntimeError

346     use Twig\Error\RuntimeError;  alias
380 …* @throws RuntimeError when $values is an empty array (does not apply to an empty string which is …
436 throw new RuntimeError('The random function cannot pick from an empty array.');
567 …throw new RuntimeError(sprintf('The "replace" filter expects an array or "Traversable" as replace …
591 …throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.'…
662 …throw new RuntimeError(sprintf('The merge filter only works with arrays or "Traversable", got "%s"…
666 …throw new RuntimeError(sprintf('The merge filter only works with arrays or "Traversable", got "%s"…
934 …throw new RuntimeError(sprintf('The sort filter only works with arrays or "Traversable", got "%s".…
994 …* @throws RuntimeError When an invalid trimming side is used (not a string or not 'left', 'right',…
1010 throw new RuntimeError('Trimming side must be "left", "right" or "both".');
1048 …throw new RuntimeError('Unable to convert encoding: required function iconv() does not exist. You …
1166 …throw new RuntimeError(sprintf('Macro "%s" is not defined in template "%s".', substr($method, \str…
1364 …throw new RuntimeError(sprintf('The "batch" filter expects an array or "Traversable", got "%s".', …
1396 …* @throws RuntimeError if the attribute does not exist and Twig is running in strict mode and $isD…
1447 throw new RuntimeError($message, $lineno, $source);
1468 throw new RuntimeError($message, $lineno, $source);
1472 … throw new RuntimeError('Accessing \Twig\Template attributes is forbidden.', $lineno, $source);
1552 …throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%…
1599 …throw new RuntimeError(sprintf('The column filter only works with arrays or "Traversable", got "%s…
1608 …throw new RuntimeError(sprintf('The "filter" filter expects an array or "Traversable", got "%s".',…
1639 …throw new RuntimeError(sprintf('The "reduce" filter only works with arrays or "Traversable", got "…
1651 …throw new RuntimeError(sprintf('The callable passed to the "%s" %s must be a Closure in sandbox mo…