Lines Matching refs:RuntimeError
306 use Twig\Error\RuntimeError; alias
338 …* @throws RuntimeError when $values is an empty array (does not apply to an empty string which is …
395 throw new RuntimeError('The random function cannot pick from an empty array.');
518 …throw new RuntimeError(sprintf('The "replace" filter expects an array or "Traversable" as replace …
540 …throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.'…
641 …throw new RuntimeError(sprintf('The merge filter only works with arrays or "Traversable", got "%s"…
645 …throw new RuntimeError(sprintf('The merge filter only works with arrays or "Traversable", got "%s"…
919 …throw new RuntimeError(sprintf('The sort filter only works with arrays or "Traversable", got "%s".…
962 …* @throws RuntimeError When an invalid trimming side is used (not a string or not 'left', 'right',…
978 throw new RuntimeError('Trimming side must be "left", "right" or "both".');
1072 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
1089 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
1106 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
1133 …throw new RuntimeError(sprintf('Invalid escaping strategy "%s" (valid ones: %s).', $strategy, $val…
1166 …throw new RuntimeError('No suitable convert encoding function (use UTF-8 as your encoding or insta…