Skip to content

Releases: xkcm/better-errors

Release v2.2.1

18 Aug 17:25
0abf104
Compare
Choose a tag to compare

Fixed:

  • Minor typing bug

Release v2.2.0

10 Aug 12:56
160f537
Compare
Choose a tag to compare

Added:

  • extractErrorDefaults utility function

Release v2.1.2

20 Jul 11:23
e543b59
Compare
Choose a tag to compare

Fixed:

  • Throwing plain errors with no options

Release v2.1.1

12 Jul 15:23
d1cce11
Compare
Choose a tag to compare

Fixed:

  • Merging behavior is now resolved on Error construction

Release v2.1.0

12 Jul 15:10
3a947c7
Compare
Choose a tag to compare

Added:

  • setDefaultMergingBehavior function

Release v2.0.0

11 Jul 22:08
f9aa978
Compare
Choose a tag to compare

Breaking changes:

  • Switched default export to named BetterError export

Release v1.1.3

07 Jul 16:43
4d462d6
Compare
Choose a tag to compare

Fixed:

  • Typings and build

Release v1.1.1

07 Jul 10:08
7c69932
Compare
Choose a tag to compare

Fixed:

  • Added cause field to the message template access

Release v1.1.0

07 Jul 10:03
d6e7c2a
Compare
Choose a tag to compare

Added:

  • Metadata merging behavior control
  • Error message template
  • Getter function for default error values

Release v1.0.0

05 Jul 16:51
4b1fb44
Compare
Choose a tag to compare

Added:

  • BetterError class
  • withMetadata, withMessage & withCode class decorators