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

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.