#[non_exhaustive]
pub enum UpdateCollectionErrorKind {
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the UpdateCollection
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConflictException(ConflictException)
When creating a collection, thrown when a collection with the same name already exists or is being created. When deleting a collection, thrown when the collection is not in the ACTIVE or FAILED state.
InternalServerException(InternalServerException)
Thrown when an error internal to the service occurs while processing a request.
ValidationException(ValidationException)
Thrown when the HTTP request contains invalid input or is missing required input.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.