Function opendal::raw::with_error_response_context

source ยท
pub fn with_error_response_context(err: Error, parts: Parts) -> Error
Expand description

Add response context to error.

This helper function will:

  • remove sensitive or useless headers from parts.
  • fetch uri if parts extensions contains Uri.