Skip to content

Releases: ehmicky/modern-errors

v7.1.4

Choose a tag to compare

@ehmicky ehmicky released this 09 Oct 23:56

Bug fixes

v7.1.3

Choose a tag to compare

@ehmicky ehmicky released this 15 Sep 17:07

Bug fixes

  • Fix BaseError.normalize(error, NewErrorClass).
    error is not converted to NewErrorClass if it is an instance of a BaseError's subclass. However, error was converted when it was an instance of BaseError itself, which was incorrect.

v7.1.2

Choose a tag to compare

@ehmicky ehmicky released this 29 May 21:59

Bug fixes

  • When wrapping an error with a different class but the same error.name, do not repeat that name in the error message

v7.1.1

Choose a tag to compare

@ehmicky ehmicky released this 26 May 00:47

Bug fixes

  • Fix TypeScript error (#35).

Documentation

v7.1.0

Choose a tag to compare

@ehmicky ehmicky released this 21 May 22:28

Features

v7.0.3

Choose a tag to compare

@ehmicky ehmicky released this 29 Mar 03:27

Documentation

  • Improve documentation in README.md

v7.0.2

Choose a tag to compare

@ehmicky ehmicky released this 12 Mar 20:25

Bug fixes

  • Fix error.message repeating in error.stack, if an invalid error.cause is used (#33)

v7.0.1

Choose a tag to compare

@ehmicky ehmicky released this 08 Apr 00:10

Types

  • Fix TypeScript types when using the custom option (#18).

v7.0.0

Choose a tag to compare

@ehmicky ehmicky released this 28 Oct 22:29

Breaking changes

  • Minimal supported Node.js version is now 18.18.0

v6.0.0

Choose a tag to compare

@ehmicky ehmicky released this 14 May 00:52

Breaking changes

  • Minimal supported Node.js version is now 16.17.0