pub fn error_chain(error: &dyn Error) -> String
Joins an error’s Display with every source() below it, separated by ": ", so the recorded message keeps the information thiserror spreads across the chain.
Display
source()
": "
thiserror