Enum aws_smithy_types::timeout::TimeoutConfigError [−][src]
#[non_exhaustive]
pub enum TimeoutConfigError {
InvalidTimeout {
name: Cow<'static, str>,
reason: Cow<'static, str>,
set_by: Cow<'static, str>,
},
ParseError {
name: Cow<'static, str>,
set_by: Cow<'static, str>,
source: Box<dyn Error>,
},
}
Expand description
An error that occurs during construction of a TimeoutConfig
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidTimeout
Fields
A timeout value was set to an invalid value:
- Any number less than 0
- Infinity or negative infinity
NaN
ParseError
Fields
The timeout value couln’t be parsed as an f32