M2
M2 copied to clipboard
catch error message in try .. else ..
Inside the else clause of try statements we should have a way to access the error message (or error object?) and decide what to do based on that. Perhaps a thread local variable can save the last error message?