Trait aws_sdk_fsx::error::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>

Implementors§

source§

impl ProvideErrorMetadata for Error

source§

impl ProvideErrorMetadata for AssociateFileSystemAliasesError

source§

impl ProvideErrorMetadata for CancelDataRepositoryTaskError

source§

impl ProvideErrorMetadata for CopyBackupError

source§

impl ProvideErrorMetadata for CopySnapshotAndUpdateVolumeError

source§

impl ProvideErrorMetadata for CreateBackupError

source§

impl ProvideErrorMetadata for CreateDataRepositoryAssociationError

source§

impl ProvideErrorMetadata for CreateDataRepositoryTaskError

source§

impl ProvideErrorMetadata for CreateFileCacheError

source§

impl ProvideErrorMetadata for CreateFileSystemError

source§

impl ProvideErrorMetadata for CreateFileSystemFromBackupError

source§

impl ProvideErrorMetadata for CreateSnapshotError

source§

impl ProvideErrorMetadata for CreateStorageVirtualMachineError

source§

impl ProvideErrorMetadata for CreateVolumeError

source§

impl ProvideErrorMetadata for CreateVolumeFromBackupError

source§

impl ProvideErrorMetadata for DeleteBackupError

source§

impl ProvideErrorMetadata for DeleteDataRepositoryAssociationError

source§

impl ProvideErrorMetadata for DeleteFileCacheError

source§

impl ProvideErrorMetadata for DeleteFileSystemError

source§

impl ProvideErrorMetadata for DeleteSnapshotError

source§

impl ProvideErrorMetadata for DeleteStorageVirtualMachineError

source§

impl ProvideErrorMetadata for DeleteVolumeError

source§

impl ProvideErrorMetadata for DescribeBackupsError

source§

impl ProvideErrorMetadata for DescribeDataRepositoryAssociationsError

source§

impl ProvideErrorMetadata for DescribeDataRepositoryTasksError

source§

impl ProvideErrorMetadata for DescribeFileCachesError

source§

impl ProvideErrorMetadata for DescribeFileSystemAliasesError

source§

impl ProvideErrorMetadata for DescribeFileSystemsError

source§

impl ProvideErrorMetadata for DescribeSharedVpcConfigurationError

source§

impl ProvideErrorMetadata for DescribeSnapshotsError

source§

impl ProvideErrorMetadata for DescribeStorageVirtualMachinesError

source§

impl ProvideErrorMetadata for DescribeVolumesError

source§

impl ProvideErrorMetadata for DisassociateFileSystemAliasesError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for ReleaseFileSystemNfsV3LocksError

source§

impl ProvideErrorMetadata for RestoreVolumeFromSnapshotError

source§

impl ProvideErrorMetadata for StartMisconfiguredStateRecoveryError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdateDataRepositoryAssociationError

source§

impl ProvideErrorMetadata for UpdateFileCacheError

source§

impl ProvideErrorMetadata for UpdateFileSystemError

source§

impl ProvideErrorMetadata for UpdateSharedVpcConfigurationError

source§

impl ProvideErrorMetadata for UpdateSnapshotError

source§

impl ProvideErrorMetadata for UpdateStorageVirtualMachineError

source§

impl ProvideErrorMetadata for UpdateVolumeError

source§

impl ProvideErrorMetadata for ActiveDirectoryError

source§

impl ProvideErrorMetadata for BackupBeingCopied

source§

impl ProvideErrorMetadata for BackupInProgress

source§

impl ProvideErrorMetadata for BackupNotFound

source§

impl ProvideErrorMetadata for BackupRestoring

source§

impl ProvideErrorMetadata for BadRequest

source§

impl ProvideErrorMetadata for DataRepositoryAssociationNotFound

source§

impl ProvideErrorMetadata for DataRepositoryTaskEnded

source§

impl ProvideErrorMetadata for DataRepositoryTaskExecuting

source§

impl ProvideErrorMetadata for DataRepositoryTaskNotFound

source§

impl ProvideErrorMetadata for FileCacheNotFound

source§

impl ProvideErrorMetadata for FileSystemNotFound

source§

impl ProvideErrorMetadata for IncompatibleParameterError

source§

impl ProvideErrorMetadata for IncompatibleRegionForMultiAz

source§

impl ProvideErrorMetadata for InternalServerError

source§

impl ProvideErrorMetadata for InvalidDataRepositoryType

source§

impl ProvideErrorMetadata for InvalidDestinationKmsKey

source§

impl ProvideErrorMetadata for InvalidExportPath

source§

impl ProvideErrorMetadata for InvalidImportPath

source§

impl ProvideErrorMetadata for InvalidNetworkSettings

source§

impl ProvideErrorMetadata for InvalidPerUnitStorageThroughput

source§

impl ProvideErrorMetadata for InvalidRegion

source§

impl ProvideErrorMetadata for InvalidSourceKmsKey

source§

impl ProvideErrorMetadata for MissingFileCacheConfiguration

source§

impl ProvideErrorMetadata for MissingFileSystemConfiguration

source§

impl ProvideErrorMetadata for MissingVolumeConfiguration

source§

impl ProvideErrorMetadata for NotServiceResourceError

source§

impl ProvideErrorMetadata for ResourceDoesNotSupportTagging

source§

impl ProvideErrorMetadata for ResourceNotFound

source§

impl ProvideErrorMetadata for ServiceLimitExceeded

source§

impl ProvideErrorMetadata for SnapshotNotFound

source§

impl ProvideErrorMetadata for SourceBackupUnavailable

source§

impl ProvideErrorMetadata for StorageVirtualMachineNotFound

source§

impl ProvideErrorMetadata for UnsupportedOperation

source§

impl ProvideErrorMetadata for VolumeNotFound

source§

impl ProvideErrorMetadata for ErrorMetadata