pub fn box_error( e: impl Error + Send + Sync + 'static, ) -> Box<dyn Error + Send + Sync + 'static>
Allocates error on the heap and then places e into it.
e