#[non_exhaustive]
pub enum CreateStreamErrorKind {
InvalidArgumentException(InvalidArgumentException),
ResourceInUseException(ResourceInUseException),
LimitExceededException(LimitExceededException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateStream operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidArgumentException(InvalidArgumentException)
A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.
ResourceInUseException(ResourceInUseException)
The resource is not available for this operation. For successful operation, the resource must be in the ACTIVE state.
LimitExceededException(LimitExceededException)
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
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 CreateStreamErrorKind
impl Send for CreateStreamErrorKind
impl Sync for CreateStreamErrorKind
impl Unpin for CreateStreamErrorKind
impl !UnwindSafe for CreateStreamErrorKind
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