Scripting reference · Nerdamer Language
iferror
Returns a fallback value when an expression throws an error.
If expression works, its value is returned and fallback isn't evaluated.
Scripting
iferror(expression, fallback)
Write it in a script: nerdamer('iferror(5,0/0)'), or in the Playground.
Parameters
expression- The expression to try.
fallback- The value to use if it throws an error.
Examples
Good to know
return,breakandcontinuepass throughiferror: they aren't treated as errors.
