Enum aws_sdk_forecast::error::ListForecastsErrorKind
source ·
[−]#[non_exhaustive]
pub enum ListForecastsErrorKind {
InvalidInputException(InvalidInputException),
InvalidNextTokenException(InvalidNextTokenException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the ListForecasts
operation.
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.
InvalidInputException(InvalidInputException)
Tuple Fields
We can't process the request because it includes an invalid value or a value that exceeds the valid range.
InvalidNextTokenException(InvalidNextTokenException)
Tuple Fields
The token is not valid. Tokens expire after 24 hours.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListForecastsErrorKind
impl Send for ListForecastsErrorKind
impl Sync for ListForecastsErrorKind
impl Unpin for ListForecastsErrorKind
impl !UnwindSafe for ListForecastsErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more