pub fn datafusion_status_code<T: ErrorExt + 'static>( e: &DataFusionError, default_status: Option<StatusCode>, ) -> StatusCode
Try to get the proper [StatusCode] of [`DataFusionError].
StatusCode