mark_as_error

Function mark_as_error 

Source
pub fn mark_as_error<E: Display>(err: &E, blame: Option<Blame>)
Expand description

Marks the current span as an error with the given error message and optional blame.