Skip to content

1.1 - Minor breaking changes

Compare
Choose a tag to compare
@hazae41 hazae41 released this 29 Aug 16:52
· 51 commits to master since this release

BREAKING

  • Renamed Result.catchAndWrap to Result.runAndDoubleWrap
  • Renamed Result.catchAndUnwrap to Result.runAndUnwrap
  • Removed Result.recatch
  • Moved Debug.debug to Result.debug
  • Moved Result.rethrow to Catched.throwOrErr

Others

  • Added Result.flatten
  • Added Result.runAndWrap
  • expect and unwrap now have this as cause
  • Result.assert now returns an Err<AssertError>