Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

Latest commit

 

History

History
56 lines (36 loc) · 1.27 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.27 KB

╯°□°╯

╯°□°╯

When throw is not enough. Build Status

Usage

;; Throw whatever you like.
(let [┻━┻ (Exception.)]
  (╯°□°╯ ┻━┻))

;; Throw an ex-info exception.
(╯°□°╯︵oɟuᴉ {:some {:extra :data}})

;; Sometimes tables must be respected, and so they may be caught as well
(v°□°v
  (/ 1 0)
  (┬─┬ ╯°_°╯ ArithmeticException
    (log/error ┬─┬)
    0))

There's no artifact on Clojars¹ but it doesn't matter because you can simply copypasta the entire source code to your own project.

Is it any good?

Yes.

  • Bare meta speed!
  • Native look and feel!
  • Tested up to Clojure 1.7.0-α6!
  • Known production applications²!
  • Compatible with Stuart Sierra's Component!

License

Copyright © 2015 Jan Stępień

Distributed under the MIT License.


¹ It might be related to ╯°□°╯ not being a legal artifact name.

² Early adopters asked to remain anonymous.