Repository navigation
v1.1.0
Changelog
- Expand
throwsto include non-malt errors by @julienvincent in 3c58e53Right now if you want to make use of checked exceptions you are forced
to use themalt.errorAPIs to throw exceptions.This excluded use-cases that involve native Java error classes, bespoke
clojure.lang.ExceptionInfodata formats, or custom error classes which
implementclojure.lang.IExceptionInfo.This patch expands on the
throwsinterface to allow describing
class-based thrown exceptions, and :schemas which match on whatever is
returned fromex-data. - Improve check-exceptions documentation by @julienvincent in b7a7a6d
- Fixed check-exceptions applying to malt validation by @julienvincent in f9880eb
- Make
throwsrequired for methods that throw by @julienvincent in d0b1004This is a breaking change.
Now that there is a mechanism to fully describe the various exceptions
an implementation can thrown, and a simple catch-all escape hatch
(throws [Exception]) - there is no reason not to makethrows
required for methods which are expected to throw.
For the full changelog visit v1.0.0...v1.1.0