iso-error@5.0.1
Patch Changes
-
ca454a5: Improve
causesupport with mocktomata.Remove usage of
instanceOf IsoErrorintoIsoError(),
so that serialized error works the same as original error.And flip to use
err.nameovererr.constructor.nameas that is actually more correct.Have encountered a case (with axios) where
err.constructor.nameis empty.