Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. // found runtime error, java.lang.NoSuchMethodError: arrow.core.EitherKt.handleErrorWith(Larrow/Kind;Lkotlin/jvm/functions/Function1;)Larrow/core/Either;
  2. // will back to find more information to fix this issue agian.
  3. // describe("Either.handleErrorWith") {
  4. // it("""should be return Either.Right when Either.Left<E>.handleErrorWith to recover error case""") {
  5. //
  6. // val result:Either<Throwable, String> = Either.Left(BadRequestException()).handleErrorWith { Either.Right("Changed to success") }
  7. // assertSoftly {
  8. // result.isLeft() shouldNotBe true
  9. // }
  10. // }
  11. // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement