You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a try+ block which catches a throw+ error. Now I want to again throw+ exception but with a different type and message. How do I do that ?
From the readme it tells me to set the :cause key, so that it wont pick up the top most wrapper. I have tried doing that, but it is not working. Please help.
Can you please comment with a simple example that shows the problem you're having. Please include what the result was and what you expected the result to be. Thanks.
Hi,
I have a try+ block which catches a throw+ error. Now I want to again throw+ exception but with a different type and message. How do I do that ?
From the readme it tells me to set the :cause key, so that it wont pick up the top most wrapper. I have tried doing that, but it is not working. Please help.
(defn is-connected? [](try+
%28amazonica.aws.ec2/describe-regions%29
%28catch Object _
%28throw+ {:type :almonds/aws-connection-error :cause :almonds/aws-connection-error :msg "connection error"}))))
The text was updated successfully, but these errors were encountered: