#[non_exhaustive]pub enum StsErrorCode {
Show 13 variants
ExpiredTokenException,
IDPCommunicationErrorException,
IDPRejectedClaimException,
InternalError,
InvalidAction,
InvalidAuthorizationMessageException,
InvalidClientTokenIdException,
InvalidIdentityTokenException,
InvalidParameterValue,
MalformedPolicyDocumentException,
MissingAction,
PackedPolicyTooLargeException,
RegionDisabledException,
}Expand description
Well-known STS 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.
ExpiredTokenException
ExpiredTokenException error.
IDPCommunicationErrorException
IDPCommunicationErrorException error.
IDPRejectedClaimException
IDPRejectedClaimException error.
InternalError
InternalError error.
InvalidAction
InvalidAction error.
InvalidAuthorizationMessageException
InvalidAuthorizationMessageException error.
InvalidClientTokenIdException
InvalidClientTokenIdException error.
InvalidIdentityTokenException
InvalidIdentityTokenException error.
InvalidParameterValue
InvalidParameterValue error.
MalformedPolicyDocumentException
MalformedPolicyDocumentException error.
MissingAction
MissingAction error.
PackedPolicyTooLargeException
PackedPolicyTooLargeException error.
RegionDisabledException
RegionDisabledException error.
Implementations§
Source§impl StsErrorCode
impl StsErrorCode
Sourcepub fn default_status_code(&self) -> StatusCode
pub fn default_status_code(&self) -> StatusCode
Returns the default HTTP status code for this error.
Sourcepub fn status_code(&self) -> StatusCode
pub fn status_code(&self) -> StatusCode
Returns the HTTP status code for this error.
Trait Implementations§
Source§impl Clone for StsErrorCode
impl Clone for StsErrorCode
Source§fn clone(&self) -> StsErrorCode
fn clone(&self) -> StsErrorCode
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 StsErrorCode
impl Debug for StsErrorCode
Source§impl Default for StsErrorCode
impl Default for StsErrorCode
Source§fn default() -> StsErrorCode
fn default() -> StsErrorCode
Returns the “default value” for a type. Read more
Source§impl Display for StsErrorCode
impl Display for StsErrorCode
Source§impl Hash for StsErrorCode
impl Hash for StsErrorCode
Source§impl PartialEq for StsErrorCode
impl PartialEq for StsErrorCode
impl Copy for StsErrorCode
impl Eq for StsErrorCode
impl StructuralPartialEq for StsErrorCode
Auto Trait Implementations§
impl Freeze for StsErrorCode
impl RefUnwindSafe for StsErrorCode
impl Send for StsErrorCode
impl Sync for StsErrorCode
impl Unpin for StsErrorCode
impl UnsafeUnpin for StsErrorCode
impl UnwindSafe for StsErrorCode
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