Home
last modified time | relevance | path

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

/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php346 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.');
591 …throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.'…
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".');
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);
[all …]
H A DEscaperExtension.php142 use Twig\Error\RuntimeError; alias
260 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
311 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
332 throw new RuntimeError('The string to escape is not a valid UTF-8 string.');
409 …throw new RuntimeError(sprintf('Invalid escaping strategy "%s" (valid ones: %s).', $strategy, $val…
/template/twigstarter/vendor/twig/twig/src/
H A DTemplate.php17 use Twig\Error\RuntimeError; alias
147 …throw new RuntimeError(sprintf('The template has no parent and no traits defining the "%s" block.'…
196 …$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%…
204 …throw new RuntimeError(sprintf('Block "%s" should not call parent() in "%s" as the block does not …
206 …throw new RuntimeError(sprintf('Block "%s" on template "%s" does not exist.', $name, $this->getTem…
419 …$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%…
H A DEnvironment.php19 use Twig\Error\RuntimeError; alias
314 * @throws RuntimeError When an error occurred during rendering
329 * @throws RuntimeError When an error occurred during rendering
342 * @throws RuntimeError When a previously generated cache is corrupted
374 * @throws RuntimeError When a previously generated cache is corrupted
422 …throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corr…
682 * @throws RuntimeError When the template cannot be found
696 throw new RuntimeError(sprintf('Unable to load the "%s" runtime.', $class));
H A DExtensionSet.php14 use Twig\Error\RuntimeError; alias
90 throw new RuntimeError(sprintf('The "%s" extension is not enabled.', $class));
/template/twigstarter/vendor/twig/twig/lib/Twig/Error/
H A DRuntime.php3 use Twig\Error\RuntimeError; alias
11 class Twig_Error_Runtime extends RuntimeError
/template/twigstarter/vendor/twig/twig/src/Error/
H A DRuntimeError.php20 class RuntimeError extends Error class