Home
last modified time | relevance | path

Searched refs:RuntimeError (Results 1 – 6 of 6) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Runtime/
DEscaperRuntime.php14 use Twig\Error\RuntimeError; alias
98 * @throws RuntimeError
191 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
243 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
265 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
334 …throw new RuntimeError(\sprintf('Invalid escaping strategy "%s" (valid ones: "%s").', $strategy, $…
341 …throw new RuntimeError('Unable to convert encoding: required function iconv() does not exist. You …
/template/twigstarter/vendor/twig/twig/src/Extension/
DCoreExtension.php17 use Twig\Error\RuntimeError; alias
419 …throw new RuntimeError('The "cycle" function expects an array or "ArrayAccess" as first argument.'…
433 throw new RuntimeError('The "cycle" function expects a non-empty sequence.');
450 …* @throws RuntimeError when $values is an empty array (does not apply to an empty string which is …
503 … throw new RuntimeError('The "random" function cannot pick from an empty sequence or mapping.');
639 …throw new RuntimeError(\sprintf('The "replace" filter expects a sequence or a mapping, got "%s".',…
665 …throw new RuntimeError('The "round" filter only supports the "common", "ceil", and "floor" methods…
736 …throw new RuntimeError(\sprintf('The "merge" filter expects a sequence or a mapping, got "%s" for …
1052 …throw new RuntimeError(\sprintf('The "sort" filter expects a sequence or a mapping, got "%s".', ge…
1176 * @throws RuntimeError When an invalid pattern is used
[all …]
/template/twigstarter/vendor/twig/twig/src/
DTemplate.php16 use Twig\Error\RuntimeError; alias
425 …$e = new RuntimeError(\sprintf('An exception has been thrown during the rendering of a template ("…
470 …$e = new RuntimeError(\sprintf('An exception has been thrown during the rendering of a template ("…
478 …throw new RuntimeError(\sprintf('Block "%s" should not call parent() in "%s" as the block does not…
480 …throw new RuntimeError(\sprintf('Block "%s" on template "%s" does not exist.', $name, $this->getTe…
503 …throw new RuntimeError(\sprintf('The template has no parent and no traits defining the "%s" block.…
537 …throw new RuntimeError(\sprintf('Macro "%s" is not defined in template "%s".', substr($name, \strl…
DEnvironment.php20 use Twig\Error\RuntimeError; alias
329 * @throws RuntimeError When an error occurred during rendering
343 * @throws RuntimeError When an error occurred during rendering
356 * @throws RuntimeError When a previously generated cache is corrupted
383 * @throws RuntimeError When a previously generated cache is corrupted
424 …throw new RuntimeError(\sprintf('Failed to load Twig template "%s", index "%s": cache might be cor…
663 * @throws RuntimeError When the template cannot be found
681 throw new RuntimeError(\sprintf('Unable to load the "%s" runtime.', $class));
DExtensionSet.php14 use Twig\Error\RuntimeError; alias
95 throw new RuntimeError(\sprintf('The "%s" extension is not enabled.', $class));
/template/twigstarter/vendor/twig/twig/src/Error/
DRuntimeError.php20 class RuntimeError extends Error class