Skip to content

v2.0.0

Latest

Choose a tag to compare

@Kashuab Kashuab released this 30 Mar 23:45

Breaking change

throws now adds a .try function, allowing for direct invocations if desired. throws is considered more of an opt-in strategy. For enforced error checking, use throwsUnsafe. See README for details.

What's Changed

  • Add support for functions that return errors instead of throwing, see #9 by @Kashuab in #10
  • Add .try method to avoid breaking changes and allow opt-in, see #11 by @Kashuab in #12

Full Changelog: v1.2.0...v2.0.0