Trait bonsaidb::keystorage::s3::aws_sdk_s3::error::ProvideErrorMetadata
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§
fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.