Skip to main content

catching

macro

taoensso.encore/catching

(catching [expr] [error-type expr] [try-expr error-sym catch-expr] [try-expr error-sym catch-expr finally-expr] [try-expr error-type error-sym catch-expr finally-expr])
Terse, cross-platform (try* expr (catch :all _)). Arities besides #{1 2} are deprecated, prefer `try*` in these cases.

No examples yet. Be the first to add one!