v1.2.0 - raise_if_err() alias for expect()
Added
Result.raise_if_err(self, msg: str, exc_cls: t.Type[Exception] = RuntimeError) -> T
added as a semantically friendly alias forResult.expect
(thanks @MustardForBreakfast!)Option.raise_if_err(self, msg: str, exc_cls: t.Type[Exception] = RuntimeError) -> T
added as a semantically friendly alias forOption.expect
(thanks @MustardForBreakfast!)