Files
ntfy/docs/sprig/flow_control.md
2025-07-07 22:23:32 -06:00

12 lines
284 B
Markdown

# Flow Control Functions
## fail
Unconditionally returns an empty `string` and an `error` with the specified
text. This is useful in scenarios where other conditionals have determined that
template rendering should fail.
```
fail "Please accept the end user license agreement"
```