pub type Error = ApiError;Expand description
Error type for Enso API operations
Aliased Type§
pub enum Error {
Http(Error),
HttpBuild(HttpError),
Json(Error),
Api {
status: u16,
message: String,
},
RateLimited {
retry_after: Option<u64>,
},
ServerError {
status: u16,
message: String,
},
Url(ParseError),
Domain(NoDomainError),
}Variants§
Http(Error)
HTTP request error
HttpBuild(HttpError)
HTTP client build error
Json(Error)
JSON parsing error
Api
API returned an error response (4xx, excluding 429)
RateLimited
Rate limit exceeded (429)
ServerError
Server error (5xx)
Url(ParseError)
URL parsing error
Domain(NoDomainError)
Domain-specific error