Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add toss for varargs convenience.

  • Loading branch information...
commit 1406767ed0393a71ef65fc14c8e62ee487dfd2ed 1 parent c2925d9
@technomancy authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/dce/Exception.clj
View
3  src/dce/Exception.clj
@@ -69,3 +69,6 @@
(defn -count [self]
(count (.state self)))
+
+(defn toss [& {:as args}]
+ (throw (dce.Exception. args)))
Please sign in to comment.
Something went wrong with that request. Please try again.