Struct aws_sdk_backupgateway::types::error::ValidationException
source · #[non_exhaustive]pub struct ValidationException { /* private fields */ }Expand description
The operation did not succeed because a validation error occurred.
Implementations§
source§impl ValidationException
impl ValidationException
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
A description of what caused the validation error.
source§impl ValidationException
impl ValidationException
sourcepub fn builder() -> ValidationExceptionBuilder
pub fn builder() -> ValidationExceptionBuilder
Creates a new builder-style object to manufacture ValidationException.
Trait Implementations§
source§impl Clone for ValidationException
impl Clone for ValidationException
source§fn clone(&self) -> ValidationException
fn clone(&self) -> ValidationException
Returns a copy 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 ValidationException
impl Debug for ValidationException
source§impl Display for ValidationException
impl Display for ValidationException
source§impl Error for ValidationException
impl Error for ValidationException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ValidationException> for ValidationException
impl PartialEq<ValidationException> for ValidationException
source§fn eq(&self, other: &ValidationException) -> bool
fn eq(&self, other: &ValidationException) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ProvideErrorMetadata for ValidationException
impl ProvideErrorMetadata for ValidationException
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message,
request ID, and potentially additional information.
source§impl RequestId for ValidationException
impl RequestId for ValidationException
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.