Function new_custom_error_span

Source
pub fn new_custom_error_span<'i>(msg: String, span: Span<'i>) -> Error
Expand description

Creates a new custom error instance associated with a specific span.