Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
cargo fmt again
Browse files Browse the repository at this point in the history
  • Loading branch information
HTGAzureX1212 committed Jun 22, 2022
1 parent f05303d commit d87836c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions http/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ pub struct Error {
#[derive(Debug)]
pub enum ErrorType {
ChunkingResponse,
Parsing { body: Vec<u8> },
Parsing {
body: Vec<u8>,
},
RequestError,
RequestTimeout,
Response { body: Vec<u8>, error: ApiError, status: StatusCode },
Response {
body: Vec<u8>,
error: ApiError,
status: StatusCode,
},
}

#[derive(Debug, Deserialize)]
Expand Down

0 comments on commit d87836c

Please sign in to comment.