Home
last modified time | relevance | path

Searched refs:RuntimeError (Results 1 – 9 of 9) 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.');
576 …throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.'…
973 …* @throws RuntimeError When an invalid trimming side is used (not a string or not 'left', 'right',…
989 throw new RuntimeError('Trimming side must be "left", "right" or "both".');
1392 throw new RuntimeError($message, $lineno, $source);
1413 throw new RuntimeError($message, $lineno, $source);
1417 … throw new RuntimeError('Accessing \Twig\Template attributes is forbidden.', $lineno, $source);
1557 …throw new RuntimeError('The callable passed to "filter" filter must be a Closure in sandbox mode.'…
[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.');
411 …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…
683 * @throws RuntimeError When the template cannot be found
697 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
/template/twigstarter/vendor/twig/twig/doc/
H A Dapi.rst582 * ``\Twig\Error\RuntimeError``: Thrown when an error occurs at runtime (when a filter
/template/twigstarter/vendor/twig/twig/
H A DCHANGELOG375 * Fix filter(), map(), and reduce() to throw a RuntimeError instead of a PHP TypeError