Function opendal::raw::parse_error_response
source · pub async fn parse_error_response(
resp: Response<IncomingAsyncBody>
) -> Result<ErrorResponse>Expand description
parse_error_response will parse response into ErrorResponse.
NOTE
Please only use this for parsing error response hence it will read the entire body into memory.