Struct aws_sdk_shield::error::InvalidParameterException
source · #[non_exhaustive]pub struct InvalidParameterException { /* private fields */ }
Expand description
Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.
Implementations§
source§impl InvalidParameterException
impl InvalidParameterException
sourcepub fn reason(&self) -> Option<&ValidationExceptionReason>
pub fn reason(&self) -> Option<&ValidationExceptionReason>
Additional information about the exception.
sourcepub fn fields(&self) -> Option<&[ValidationExceptionField]>
pub fn fields(&self) -> Option<&[ValidationExceptionField]>
Fields that caused the exception.
source§impl InvalidParameterException
impl InvalidParameterException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InvalidParameterException
.
Trait Implementations§
source§impl Clone for InvalidParameterException
impl Clone for InvalidParameterException
source§fn clone(&self) -> InvalidParameterException
fn clone(&self) -> InvalidParameterException
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 InvalidParameterException
impl Debug for InvalidParameterException
source§impl Display for InvalidParameterException
impl Display for InvalidParameterException
source§impl Error for InvalidParameterException
impl Error for InvalidParameterException
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<InvalidParameterException> for InvalidParameterException
impl PartialEq<InvalidParameterException> for InvalidParameterException
source§fn eq(&self, other: &InvalidParameterException) -> bool
fn eq(&self, other: &InvalidParameterException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.