fail<E> static method

Cause<E> fail<E>(
  1. E error
)

Creates a Fail cause from an expected error

Implementation

static Cause<E> fail<E>(E error) => Fail(error);