Closed mcorbin closed 3 years ago
Today, it's hard to understand exactly why a complex spec fails to coerce. This commit adds an :explain-data key to the exception data, which make easier investigating coercion issues.
Since both spec and coerced are available, couldn't this be ran when receiving the exception instead of carrying it in all thrown payloads?
spec
coerced
Today, it's hard to understand exactly why a complex spec fails to coerce. This commit adds an :explain-data key to the exception data, which make easier investigating coercion issues.