mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 18:48:33 +02:00
✨ Add tests and improve impl of registration with invitation
This commit is contained in:
parent
a7e77c3ea6
commit
33c3e86e66
3 changed files with 69 additions and 8 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue