Add tests and improve impl of registration with invitation

This commit is contained in:
Andrey Antukh 2022-03-10 12:37:55 +01:00
parent a7e77c3ea6
commit 33c3e86e66
3 changed files with 69 additions and 8 deletions

View file

@ -313,6 +313,14 @@
[v]
(instance? clojure.lang.ExceptionInfo v))
(defn ex-type
[e]
(:type (ex-data e)))
(defn ex-code
[e]
(:code (ex-data e)))
(defn ex-of-type?
[e type]
(let [data (ex-data e)]