Skip to main content

warn

Function warn 

Source
pub fn warn(tag: &str, message: &str)
Expand description

What: Print a warning unless warnings are suppressed. Why: Conditions the user should know about that do not fail the command, such as a landed-capture record that could not be written.

In TS you’d write (pseudocode):

tagged({ tag }).warn(message);