$warning
$warning(message?) -> undefined<s?:u>Source: FUME
Documentation
$warning() is an alias of $warn().
Use it for the same non-fatal warning behavior as $warn(): it records a warning diagnostic, can write to the configured logger, and allows evaluation to continue. This helper belongs to Diagnostics And Errors.
It emits the same warning diagnostic entry with code F5320, records the same executionId, uses the configured logger's warn() method when logging is enabled, and returns undefined. Choose whichever name reads better in your mapping; there is no behavioral difference between $warning() and $warn().
Examples
Emit a warning log entry (alias)
$warning() is an alias of $warn().
No file-backed example is used here because $warning() does not read the input; the important contract is that it behaves exactly like $warn().
Input
null
Expression
$warning("Lab result pending")
Result
undefined