Is there a way to know the actual type of Error boxed in Box<dyn Error + Send + Sync>?

ExternalError(Box<dyn Error + Send + Sync>),

If it is not 'static? No. If it is, you can use downcast()

2 Likes