aws_sdk_transfer::error

Trait ProvideErrorMetadata

Source
pub trait ProvideErrorMetadata {
    // Required method
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}
Expand description

Trait to retrieve error metadata from a result

Required Methods§

Source

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.

Provided Methods§

Source

fn code(&self) -> Option<&str>

Returns the error code if it’s available.

Source

fn message(&self) -> Option<&str>

Returns the error message, if there is one.

Implementations on Foreign Types§

Source§

impl<E, R> ProvideErrorMetadata for SdkError<E, R>

Source§

impl<O, E> ProvideErrorMetadata for WaiterError<O, E>

Implementors§

Source§

impl ProvideErrorMetadata for Error

Source§

impl ProvideErrorMetadata for CreateAccessError

Source§

impl ProvideErrorMetadata for CreateAgreementError

Source§

impl ProvideErrorMetadata for CreateConnectorError

Source§

impl ProvideErrorMetadata for CreateProfileError

Source§

impl ProvideErrorMetadata for CreateServerError

Source§

impl ProvideErrorMetadata for CreateUserError

Source§

impl ProvideErrorMetadata for CreateWorkflowError

Source§

impl ProvideErrorMetadata for DeleteAccessError

Source§

impl ProvideErrorMetadata for DeleteAgreementError

Source§

impl ProvideErrorMetadata for DeleteCertificateError

Source§

impl ProvideErrorMetadata for DeleteConnectorError

Source§

impl ProvideErrorMetadata for DeleteHostKeyError

Source§

impl ProvideErrorMetadata for DeleteProfileError

Source§

impl ProvideErrorMetadata for DeleteServerError

Source§

impl ProvideErrorMetadata for DeleteSshPublicKeyError

Source§

impl ProvideErrorMetadata for DeleteUserError

Source§

impl ProvideErrorMetadata for DeleteWorkflowError

Source§

impl ProvideErrorMetadata for DescribeAccessError

Source§

impl ProvideErrorMetadata for DescribeAgreementError

Source§

impl ProvideErrorMetadata for DescribeCertificateError

Source§

impl ProvideErrorMetadata for DescribeConnectorError

Source§

impl ProvideErrorMetadata for DescribeExecutionError

Source§

impl ProvideErrorMetadata for DescribeHostKeyError

Source§

impl ProvideErrorMetadata for DescribeProfileError

Source§

impl ProvideErrorMetadata for DescribeSecurityPolicyError

Source§

impl ProvideErrorMetadata for DescribeServerError

Source§

impl ProvideErrorMetadata for DescribeUserError

Source§

impl ProvideErrorMetadata for DescribeWorkflowError

Source§

impl ProvideErrorMetadata for ImportCertificateError

Source§

impl ProvideErrorMetadata for ImportHostKeyError

Source§

impl ProvideErrorMetadata for ImportSshPublicKeyError

Source§

impl ProvideErrorMetadata for ListAccessesError

Source§

impl ProvideErrorMetadata for ListAgreementsError

Source§

impl ProvideErrorMetadata for ListCertificatesError

Source§

impl ProvideErrorMetadata for ListConnectorsError

Source§

impl ProvideErrorMetadata for ListExecutionsError

Source§

impl ProvideErrorMetadata for ListFileTransferResultsError

Source§

impl ProvideErrorMetadata for ListHostKeysError

Source§

impl ProvideErrorMetadata for ListProfilesError

Source§

impl ProvideErrorMetadata for ListSecurityPoliciesError

Source§

impl ProvideErrorMetadata for ListServersError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListUsersError

Source§

impl ProvideErrorMetadata for ListWorkflowsError

Source§

impl ProvideErrorMetadata for SendWorkflowStepStateError

Source§

impl ProvideErrorMetadata for StartDirectoryListingError

Source§

impl ProvideErrorMetadata for StartFileTransferError

Source§

impl ProvideErrorMetadata for StartServerError

Source§

impl ProvideErrorMetadata for StopServerError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for TestConnectionError

Source§

impl ProvideErrorMetadata for TestIdentityProviderError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAccessError

Source§

impl ProvideErrorMetadata for UpdateAgreementError

Source§

impl ProvideErrorMetadata for UpdateCertificateError

Source§

impl ProvideErrorMetadata for UpdateConnectorError

Source§

impl ProvideErrorMetadata for UpdateHostKeyError

Source§

impl ProvideErrorMetadata for UpdateProfileError

Source§

impl ProvideErrorMetadata for UpdateServerError

Source§

impl ProvideErrorMetadata for UpdateUserError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServiceError

Source§

impl ProvideErrorMetadata for InvalidNextTokenException

Source§

impl ProvideErrorMetadata for InvalidRequestException

Source§

impl ProvideErrorMetadata for ResourceExistsException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServiceUnavailableException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for ErrorMetadata