Skip to content

Releases: softwareventures/result

v1.0.0

01 Apr 14:22
083a48d

Choose a tag to compare

1.0.0 (2024-04-01)

Features

  • add Result type (91890f4)
  • asyncResultFrom: add asyncResultFrom function (975f9ec)
  • bindResult: add bindResult function (9e5284c)
  • Err: make Err extend Error, so that it has a useful stack trace if it is rethrown (539b6f3)
  • isErr: add isErr function (e2500ad)
  • isOk: add isOk function (0e29fc3)
  • mapErr: add mapErr function (a20b42d)
  • mapOk: add mapOk function (8cfcff3)
  • resultFrom: add resultFrom function (7eb53de)
  • unwrapErr: add unwrapErr function (8e0ec8d)
  • unwrapErrOr: add unwrapErrOr function (22bb50e)
  • unwrapErrOrElse: add unwrapErrOrElse function (40f6d8f)
  • unwrapOk: add unwrapOk function (caf1958)
  • unwrapOkOr: add unwrapOkOr function (49b02e8)
  • unwrapOkOrElse: add unwrapOkOrElse function (2ac306e)
  • unwrapOk: throw the Err itself, not the reason, since Err has a stack trace now (80c6f74)