pub fn box_error<Err>(err: Err) -> BoxError where Err: Error + Send + Sync + 'static,
Convenience function for converting some error to a boxed error.