Skip to main content

report_error

Function report_error 

Source
pub fn report_error(msg: &str)
Expand description

Reports msg on the platform’s error channel: the process’s stderr on desktop, or when built for any non-wasm32 host (e.g. running this crate’s own test suite natively).

§Examples

report_error("Could not propagate the edited sheet") reports a recoverable UI failure.

  • Complexity: O(msg.len()) diagnostic output work.