...
|
...
|
@@ -457,11 +457,13 @@ Twig can throw exceptions:
|
457
|
457
|
|
458
|
458
|
* ``Twig_Error``: The base exception for all errors.
|
459
|
459
|
|
460
|
|
-* ``Twig_SyntaxError``: Thrown to tell the user that there is a problem with
|
|
460
|
+* ``Twig_Error_Syntax``: Thrown to tell the user that there is a problem with
|
461
|
461
|
the template syntax.
|
462
|
462
|
|
463
|
|
-* ``Twig_RuntimeError``: Thrown when an error occurs at runtime (when a filter
|
|
463
|
+* ``Twig_Error_Runtime``: Thrown when an error occurs at runtime (when a filter
|
464
|
464
|
does not exist for instance).
|
465
|
465
|
|
466
|
|
-* `wTwig_Sandbox_SecurityError``: Thrown when an unallowed tag, filter, or
|
|
466
|
+* ``Twig_Error_Loader``: Thrown when an error occurs during template loading.
|
|
467
|
+
|
|
468
|
+* ``Twig_Sandbox_SecurityError``: Thrown when an unallowed tag, filter, or
|
467
|
469
|
method is called in a sandboxed template.
|