a :type key to allow easy matching
:com.fulcrologic.guardrails{ :spec :val :fn-name :failure-point } keys to allow to know where/how it failed.
This allows nicer interop with libs such as https://github.com/exoscale/ex but generally also better matching of the exception than just parsing the ex-message.
This adds some ex-data to the ex-info thrown.
a
:type
key to allow easy matching:com.fulcrologic.guardrails{ :spec :val :fn-name :failure-point }
keys to allow to know where/how it failed.This allows nicer interop with libs such as https://github.com/exoscale/ex but generally also better matching of the exception than just parsing the ex-message.