error<A> static method

Decoder<A> error<A>(
  1. DecodingError reason
)

Implementation

static Decoder<A> error<A>(DecodingError reason) => lift(left(reason));