filter_bad_input
Diagnostic `nanook::template::filter_bad_input`
Summary
filter `{name}` expected a {expected} input, got `{input}`
Details
When this fires
A filter got the wrong type of input or argument. Examples: truncate(-1) or truncate("eighty") (needs a non-negative integer), round on a string, len on something that isn't a string, list, or map. Raised at render time, surfaced when sending an alert.
What to check
If the input is sometimes empty, chain default first: {{ x | default(0) | round(2) }}. Otherwise fix the upstream value or pick a different filter.
broken:
broken:
fixed:
fixed: