throw
throw(message=)Aborts the render at once with message.
Arguments#
| Argument | Type | Required |
|---|---|---|
message | string | yes |
Details#
- Kind: Function, implemented by a Tera built-in.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: escaped like any value, unless marked
safe.