Skip to main content

Err

Macro Err 

Source
macro_rules! Err {
    ($($args:tt)*) => { ... };
}
Expand description

Constructs an error result through err!.

The supplied tokens select or format an Error, then wrap it in std::result::Result::Err. Every input form accepted by err! is supported.