This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-14
Channels
- # announcements (1)
- # babashka (19)
- # beginners (50)
- # biff (7)
- # calva (6)
- # cider (13)
- # circleci (7)
- # clj-kondo (49)
- # clojure (45)
- # clojure-belgium (1)
- # clojure-europe (2)
- # clojure-indonesia (1)
- # clr (12)
- # datomic (3)
- # events (7)
- # fulcro (4)
- # graphql (2)
- # gratitude (1)
- # instaparse (5)
- # lsp (17)
- # off-topic (26)
- # polylith (15)
- # portal (4)
- # remote-jobs (2)
- # spacemacs (12)
I just tried and found out that d/q accepts a reducible as a collection argument and I'm very happy 🙂
Is there a simple way to parse datomic exceptions?
{:cognitect.anomalies/category :cognitect.anomalies/conflict,
:cognitect.anomalies/message "Unique conflict: :user/email, value: already held by: 92358976733264 asserted for: 87960930222161",
:db/error :db.error/unique-conflict}
Example: I wish got the attribute :user/email
and value
as data instead of being embedded inside a string.Found this https://groups.google.com/g/datomic/c/kOBvvc228VM, and it seems like it hasn’t been prioritized in 6 years.
Found this https://groups.google.com/g/datomic/c/kOBvvc228VM, and it seems like it hasn’t been prioritized in 6 years.