Trait aws_sdk_ivschat::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 CreateChatTokenError

source§

impl ProvideErrorMetadata for CreateLoggingConfigurationError

source§

impl ProvideErrorMetadata for CreateRoomError

source§

impl ProvideErrorMetadata for DeleteLoggingConfigurationError

source§

impl ProvideErrorMetadata for DeleteMessageError

source§

impl ProvideErrorMetadata for DeleteRoomError

source§

impl ProvideErrorMetadata for DisconnectUserError

source§

impl ProvideErrorMetadata for GetLoggingConfigurationError

source§

impl ProvideErrorMetadata for GetRoomError

source§

impl ProvideErrorMetadata for ListLoggingConfigurationsError

source§

impl ProvideErrorMetadata for ListRoomsError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for SendEventError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdateLoggingConfigurationError

source§

impl ProvideErrorMetadata for UpdateRoomError

source§

impl ProvideErrorMetadata for AccessDeniedException

source§

impl ProvideErrorMetadata for ConflictException

source§

impl ProvideErrorMetadata for InternalServerException

source§

impl ProvideErrorMetadata for PendingVerification

source§

impl ProvideErrorMetadata for ResourceNotFoundException

source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

source§

impl ProvideErrorMetadata for ThrottlingException

source§

impl ProvideErrorMetadata for ValidationException

source§

impl ProvideErrorMetadata for ErrorMetadata