Releases: xkcm/better-errors
Releases · xkcm/better-errors
Release v2.2.1
Release v2.2.0
Added:
extractErrorDefaults
utility function
Release v2.1.2
Fixed:
- Throwing plain errors with no options
Release v2.1.1
Fixed:
- Merging behavior is now resolved on Error construction
Release v2.1.0
Added:
setDefaultMergingBehavior
function
Release v2.0.0
Breaking changes:
- Switched default export to named
BetterError
export
Release v1.1.3
Fixed:
- Typings and build
Release v1.1.1
Fixed:
- Added
cause
field to the message template access
Release v1.1.0
Added:
- Metadata merging behavior control
- Error message template
- Getter function for default error values
Release v1.0.0
Added:
BetterError
classwithMetadata
,withMessage
&withCode
class decorators