Releases: ehmicky/merge-error-cause
Releases · ehmicky/merge-error-cause
Release 2.5.1
Bug fixes
- Delete internal
wrap
property
Release 2.5.0
Features
- Improve merging properties
Release 2.4.0
Features
- Improve performance
Release 2.3.0
Features
- Improve handling empty error messages
Release 2.2.0
Features
- Improves
error.wrap
Release 2.1.1
Bug fixes
- Allow
ErrorClass.prototype.constructor
to mismatchErrorClass
, in order to support polyfills likeerror-cause-polyfill
Release 2.1.0
Features
- Improve how
error
classes are merged thanks toset-error-class
- Improve how
error
message are merged thanks toset-error-message
- Improve how
error
properties are merged thanks toset-error-props
- Improve how
error.stack
is merged - Improve TypeScript types
Release 2.0.0
Breaking changes
- The argument is now directly modified, providing it is an
Error
instance. Otherwise, a newerror
is created then returned. - The outer error type is now kept when it is
AggregateError
Features
- The inner error type can now be re-used by using
error.wrap = true
Release 1.3.0
Features
- Reduce npm package size
Release 1.2.0
Features
- Improve error normalization