fail<E> static method

Exit<Never, E> fail<E>(
  1. E error
)

Creates a failed exit with the given error

Implementation

static Exit<Never, E> fail<E>(E error) => Failure(Cause.fail(error));