Enum aws_smithy_types::retry::ErrorKind [−][src]
#[non_exhaustive]
pub enum ErrorKind {
TransientError,
ThrottlingError,
ServerError,
ClientError,
}
Expand description
Type of error that occurred when making a request.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
A connection-level error.
A TransientError
can represent conditions such as socket timeouts, socket connection errors, or TLS negotiation timeouts.
TransientError
is not modeled by Smithy and is instead determined through client-specific heuristics and response status codes.
Typically these should never be applied for non-idempotent request types since in this scenario, it’s impossible to know whether the operation had a side effect on the server.
TransientErrors are not currently modeled. They are determined based on specific provider level errors & response status code.
An error where the server explicitly told the client to back off, such as a 429 or 503 HTTP error.
Server error that isn’t explicitly throttling but is considered by the client to be something that should be retried.
Doesn’t count against any budgets. This could be something like a 401 challenge in Http.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more