Trait aws_sdk_chatbot::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>

source§

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

Implementors§

source§

impl ProvideErrorMetadata for Error

source§

impl ProvideErrorMetadata for CreateChimeWebhookConfigurationError

source§

impl ProvideErrorMetadata for CreateMicrosoftTeamsChannelConfigurationError

source§

impl ProvideErrorMetadata for CreateSlackChannelConfigurationError

source§

impl ProvideErrorMetadata for DeleteChimeWebhookConfigurationError

source§

impl ProvideErrorMetadata for DeleteMicrosoftTeamsChannelConfigurationError

source§

impl ProvideErrorMetadata for DeleteMicrosoftTeamsConfiguredTeamError

source§

impl ProvideErrorMetadata for DeleteMicrosoftTeamsUserIdentityError

source§

impl ProvideErrorMetadata for DeleteSlackChannelConfigurationError

source§

impl ProvideErrorMetadata for DeleteSlackUserIdentityError

source§

impl ProvideErrorMetadata for DeleteSlackWorkspaceAuthorizationError

source§

impl ProvideErrorMetadata for DescribeChimeWebhookConfigurationsError

source§

impl ProvideErrorMetadata for DescribeSlackChannelConfigurationsError

source§

impl ProvideErrorMetadata for DescribeSlackUserIdentitiesError

source§

impl ProvideErrorMetadata for DescribeSlackWorkspacesError

source§

impl ProvideErrorMetadata for GetAccountPreferencesError

source§

impl ProvideErrorMetadata for GetMicrosoftTeamsChannelConfigurationError

source§

impl ProvideErrorMetadata for ListMicrosoftTeamsChannelConfigurationsError

source§

impl ProvideErrorMetadata for ListMicrosoftTeamsConfiguredTeamsError

source§

impl ProvideErrorMetadata for ListMicrosoftTeamsUserIdentitiesError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdateAccountPreferencesError

source§

impl ProvideErrorMetadata for UpdateChimeWebhookConfigurationError

source§

impl ProvideErrorMetadata for UpdateMicrosoftTeamsChannelConfigurationError

source§

impl ProvideErrorMetadata for UpdateSlackChannelConfigurationError

source§

impl ProvideErrorMetadata for ConflictException

source§

impl ProvideErrorMetadata for CreateChimeWebhookConfigurationException

source§

impl ProvideErrorMetadata for CreateSlackChannelConfigurationException

source§

impl ProvideErrorMetadata for CreateTeamsChannelConfigurationException

source§

impl ProvideErrorMetadata for DeleteChimeWebhookConfigurationException

source§

impl ProvideErrorMetadata for DeleteMicrosoftTeamsUserIdentityException

source§

impl ProvideErrorMetadata for DeleteSlackChannelConfigurationException

source§

impl ProvideErrorMetadata for DeleteSlackUserIdentityException

source§

impl ProvideErrorMetadata for DeleteSlackWorkspaceAuthorizationFault

source§

impl ProvideErrorMetadata for DeleteTeamsChannelConfigurationException

source§

impl ProvideErrorMetadata for DeleteTeamsConfiguredTeamException

source§

impl ProvideErrorMetadata for DescribeChimeWebhookConfigurationsException

source§

impl ProvideErrorMetadata for DescribeSlackChannelConfigurationsException

source§

impl ProvideErrorMetadata for DescribeSlackUserIdentitiesException

source§

impl ProvideErrorMetadata for DescribeSlackWorkspacesException

source§

impl ProvideErrorMetadata for GetAccountPreferencesException

source§

impl ProvideErrorMetadata for GetTeamsChannelConfigurationException

source§

impl ProvideErrorMetadata for InternalServiceError

source§

impl ProvideErrorMetadata for InvalidParameterException

source§

impl ProvideErrorMetadata for InvalidRequestException

source§

impl ProvideErrorMetadata for LimitExceededException

source§

impl ProvideErrorMetadata for ListMicrosoftTeamsConfiguredTeamsException

source§

impl ProvideErrorMetadata for ListMicrosoftTeamsUserIdentitiesException

source§

impl ProvideErrorMetadata for ListTeamsChannelConfigurationsException

source§

impl ProvideErrorMetadata for ResourceNotFoundException

source§

impl ProvideErrorMetadata for ServiceUnavailableException

source§

impl ProvideErrorMetadata for TooManyTagsException

source§

impl ProvideErrorMetadata for UpdateAccountPreferencesException

source§

impl ProvideErrorMetadata for UpdateChimeWebhookConfigurationException

source§

impl ProvideErrorMetadata for UpdateSlackChannelConfigurationException

source§

impl ProvideErrorMetadata for UpdateTeamsChannelConfigurationException

source§

impl ProvideErrorMetadata for ErrorMetadata