#[non_exhaustive]pub enum CloudWatchErrorCode {
Show 16 variants
ConcurrentModificationException,
ConflictException,
DashboardInvalidInputError,
DashboardNotFoundError,
InternalServiceFault,
InvalidAction,
InvalidFormatFault,
InvalidNextToken,
InvalidParameterCombinationException,
InvalidParameterValueException,
LimitExceededException,
LimitExceededFault,
MissingAction,
MissingRequiredParameterException,
ResourceNotFound,
ResourceNotFoundException,
}Expand description
Well-known CloudWatch error codes.
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.
ConcurrentModificationException
ConcurrentModificationException error.
ConflictException
ConflictException error.
DashboardInvalidInputError
DashboardInvalidInputError error.
DashboardNotFoundError
DashboardNotFoundError error.
InternalServiceFault
InternalServiceFault error.
InvalidAction
InvalidAction error.
InvalidFormatFault
InvalidFormatFault error.
InvalidNextToken
InvalidNextToken error.
InvalidParameterCombinationException
InvalidParameterCombinationException error.
InvalidParameterValueException
InvalidParameterValueException error.
LimitExceededException
LimitExceededException error.
LimitExceededFault
LimitExceededFault error.
MissingAction
MissingAction error.
MissingRequiredParameterException
MissingRequiredParameterException error.
ResourceNotFound
ResourceNotFound error.
ResourceNotFoundException
ResourceNotFoundException error.
Implementations§
Source§impl CloudWatchErrorCode
impl CloudWatchErrorCode
Sourcepub fn error_type(&self) -> &'static str
pub fn error_type(&self) -> &'static str
Returns the short error type string for the JSON __type field.
Sourcepub fn default_status_code(&self) -> StatusCode
pub fn default_status_code(&self) -> StatusCode
Returns the default HTTP status code for this error.
Trait Implementations§
Source§impl Clone for CloudWatchErrorCode
impl Clone for CloudWatchErrorCode
Source§fn clone(&self) -> CloudWatchErrorCode
fn clone(&self) -> CloudWatchErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudWatchErrorCode
impl Debug for CloudWatchErrorCode
Source§impl Default for CloudWatchErrorCode
impl Default for CloudWatchErrorCode
Source§fn default() -> CloudWatchErrorCode
fn default() -> CloudWatchErrorCode
Returns the “default value” for a type. Read more
Source§impl Display for CloudWatchErrorCode
impl Display for CloudWatchErrorCode
Source§impl Hash for CloudWatchErrorCode
impl Hash for CloudWatchErrorCode
Source§impl PartialEq for CloudWatchErrorCode
impl PartialEq for CloudWatchErrorCode
impl Copy for CloudWatchErrorCode
impl Eq for CloudWatchErrorCode
impl StructuralPartialEq for CloudWatchErrorCode
Auto Trait Implementations§
impl Freeze for CloudWatchErrorCode
impl RefUnwindSafe for CloudWatchErrorCode
impl Send for CloudWatchErrorCode
impl Sync for CloudWatchErrorCode
impl Unpin for CloudWatchErrorCode
impl UnsafeUnpin for CloudWatchErrorCode
impl UnwindSafe for CloudWatchErrorCode
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