1.3.0 permalink Arrow_down_16x16

catch

clojure.core

1 Example top

  • => (try
         (/ 1 0)
         (catch Exception e (str "caught exception: " (.getMessage e))))
    
    "caught exception: Divide by zero"
Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

No comments for catch. Log in to add a comment.