such-that should provide a way to customize its error message

Description

clojure.spec uses such-that for (at least) s/and specs, and for certain specs the default such-that is likely to throw an exception to a user who didn't know the such-that was there in the first place. For usability it would be good for clojure.spec to be able to substitute or add info to the error somehow.

Environment

None

Assignee

gfredericks

Reporter

gfredericks

Labels

Approval

None

Patch

None

Priority

Major
Configure