fail<R, E2> method

ZIO<R, E2, Unit> fail<R, E2>(
  1. E error
)

Implementation

ZIO<R, E2, Unit> fail<R, E2>(E error) => failCause(Failure(error));