iso-error

An Isomorphic Error Library

Downloads
5.8K
Stars
3
Committers
6

Bot releases are hidden (Show)

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Minor Changes

  • 7725f6c: Add remaining errors
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

  • 84fc334: Skip field when it is circular

Those fields are skipped instead of trying to preserve them because they are most likely not used across the boundary.
The information we access across the boundary should be minimal, unless explicitly defined,
such as those in google-cloud-api

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Minor Changes

  • 40f0213: Add webPlugin.
    Using the webPlugin,
    We can deserialize the err supporting instanceOf
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

  • 29bd0ce: rename plugin
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

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.

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Major Changes

  • 2c2798f: CJS code upgrade to ES2015 to support private fields.

  • 74adb0d: Remove IsoError.Serializable.

    While the concept is still there (SerializableConverter),
    the type is not needed because the value across physically boundary is untyped.

Minor Changes

  • 2c2798f: Add SerializableConverter.
iso-error - [email protected]

Published by unional almost 2 years ago

Major Changes

  • 2c2798f: CJS code upgrade to ES2015 to support private fields.

Patch Changes

  • Updated dependencies [2c2798f]
  • Updated dependencies [74adb0d]
  • Updated dependencies [2c2798f]
iso-error - [email protected]

Published by unional almost 2 years ago

Major Changes

  • 2c2798f: CJS code upgrade to ES2015 to support private fields.

Patch Changes

iso-error - [email protected]

Published by unional almost 2 years ago

Major Changes

  • 2c2798f: CJS code upgrade to ES2015 to support private fields.

Patch Changes

  • Updated dependencies [2c2798f]
  • Updated dependencies [74adb0d]
  • Updated dependencies [2c2798f]
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

  • 936d275: Fix CJS usage by adding cjs/package.json
  • Updated dependencies [936d275]
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

  • 936d275: Fix CJS usage by adding cjs/package.json
  • Updated dependencies [936d275]
iso-error - [email protected]

Published by unional almost 2 years ago

Patch Changes

  • 936d275: Fix CJS usage by adding cjs/package.json