pub enum CreateElasticsearchDomainError {
Base(String),
DisabledOperation(String),
Internal(String),
InvalidType(String),
LimitExceeded(String),
ResourceAlreadyExists(String),
}Expand description
Errors returned by CreateElasticsearchDomain
Variants§
Base(String)
An error occurred while processing the request.
DisabledOperation(String)
An error occured because the client wanted to access a not supported operation. Gives http status code of 409.
Internal(String)
The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
InvalidType(String)
An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
LimitExceeded(String)
An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
ResourceAlreadyExists(String)
An exception for creating a resource that already exists. Gives http status code of 400.
Implementations§
Trait Implementations§
Source§impl Error for CreateElasticsearchDomainError
impl Error for CreateElasticsearchDomainError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CreateElasticsearchDomainError
impl PartialEq for CreateElasticsearchDomainError
Source§fn eq(&self, other: &CreateElasticsearchDomainError) -> bool
fn eq(&self, other: &CreateElasticsearchDomainError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateElasticsearchDomainError
Auto Trait Implementations§
impl Freeze for CreateElasticsearchDomainError
impl RefUnwindSafe for CreateElasticsearchDomainError
impl Send for CreateElasticsearchDomainError
impl Sync for CreateElasticsearchDomainError
impl Unpin for CreateElasticsearchDomainError
impl UnwindSafe for CreateElasticsearchDomainError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more