docs/flow_control.md
raw| 1 | # Flow Control Functions |
| 2 | |
| 3 | ## fail |
| 4 | |
| 5 | Unconditionally returns an empty `string` and an `error` with the specified |
| 6 | text. This is useful in scenarios where other conditionals have determined that |
| 7 | template rendering should fail. |
| 8 | |
| 9 | ``` |
| 10 | fail "Please accept the end user license agreement" |
| 11 | ``` |