Is there an idiomatic way in meander to match the ex-message and ex-data parts of an exception (not in try/catch, just as some data that's embedded in a map)?
Like
(m/app ex-data {:error/type ?error-type})
kinda thing?yeah, so I guess something like this is appropriate?
(m/and (m/app ex-message "Some Error")
(m/app ex-data {:some :data}))
(m/defsyntax ex [message data]
`(m/and (m/app ex-message ~message)
(m/app ex-data ~data)))
(If its common enough to warrant.)