lance_core::error

Function box_error

Source
pub fn box_error(
    e: impl Error + Send + Sync + 'static,
) -> Box<dyn Error + Send + Sync + 'static>
Expand description

Allocates error on the heap and then places e into it.