Skip to content

iso-error@5.0.1

Choose a tag to compare

@unional unional released this 30 Nov 23:05
· 222 commits to main since this release

Patch Changes

  • ca454a5: Improve cause support with mocktomata.

    Remove usage of instanceOf IsoError in toIsoError(),
    so that serialized error works the same as original error.

    And flip to use err.name over err.constructor.name as that is actually more correct.

    Have encountered a case (with axios) where err.constructor.name is empty.