Releases: ehmicky/modern-errors
Releases · ehmicky/modern-errors
v7.1.4
v7.1.3
Bug fixes
- Fix
BaseError.normalize(error, NewErrorClass)
.
error
is not converted toNewErrorClass
if it is an instance of aBaseError
's subclass. However,error
was converted when it was an instance ofBaseError
itself, which was incorrect.
v7.1.2
v7.1.1
Bug fixes
- Fix TypeScript error (#35).
Documentation
- The core of the plugin
modern-errors-switch
has been split into a separate moduleswitch-functional
. If you like functional programming, this might interest you.
v7.1.0
Features
- Add new plugin
modern-errors-beautiful
which prettifies an error's message and stack.