Struct aws_sdk_athena::types::DisplayErrorContext
source · pub struct DisplayErrorContext<E>(pub E)
where
E: Error;
Expand description
Provides a Display
impl for an Error
that outputs the full error context
This utility follows the error cause/source chain and displays every error message in the chain separated by “: “. At the end of the chain, it outputs a debug view of the entire error chain.
Example
println!("There was an unhandled error: {}", DisplayErrorContext(&err));
Tuple Fields§
§0: E
The error to display full context for