I'm creating my own image optimization tool. Currently my implementation sets the default error message to: "Something went wrong." How can I extract the error message from catch_unwind? This function returns Any and this can be used to determine the type of a variable. What exactly is the type of error message?
I'm creating my own image optimization tool. Currently my implementation sets the default error message to: "Something went wrong." How can I extract the error message from
catch_unwind
? This function returnsAny
and this can be used to determine the type of a variable. What exactly is the type of error message?