error-serializer
Advanced tools
Changelog
3.1.0
error.constructorArgs
Changelog
3.0.0
loose
option was renamed to normalize
. Its value has been inverted:
loose: true
is now normalize: false
.normalize
option is now false
.
serialize()
is not an error instance, it is not
normalized to one anymore, unless normalize: true
is usedparse()
is not an error plain object, it is not
normalized to one anymore, unless normalize: true
is usedshallow: true
option can be used
to keep them shallow.