pub enum UpdateElasticsearchDomainConfigError {
Base(String),
Internal(String),
InvalidType(String),
LimitExceeded(String),
ResourceNotFound(String),
}Expand description
Errors returned by UpdateElasticsearchDomainConfig
Variants§
Base(String)
An error occurred while processing the request.
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.
ResourceNotFound(String)
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
Implementations§
Trait Implementations§
Source§impl Error for UpdateElasticsearchDomainConfigError
impl Error for UpdateElasticsearchDomainConfigError
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 UpdateElasticsearchDomainConfigError
impl PartialEq for UpdateElasticsearchDomainConfigError
Source§fn eq(&self, other: &UpdateElasticsearchDomainConfigError) -> bool
fn eq(&self, other: &UpdateElasticsearchDomainConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateElasticsearchDomainConfigError
Auto Trait Implementations§
impl Freeze for UpdateElasticsearchDomainConfigError
impl RefUnwindSafe for UpdateElasticsearchDomainConfigError
impl Send for UpdateElasticsearchDomainConfigError
impl Sync for UpdateElasticsearchDomainConfigError
impl Unpin for UpdateElasticsearchDomainConfigError
impl UnwindSafe for UpdateElasticsearchDomainConfigError
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