Package: effect
Module: Micro
Creates a Micro effect that fails with the given error.
This results in a Fail variant of the MicroCause type, where the error is
tracked at the type level.
Signature
declare const fail: <E>(error: E) => Micro<never, E>
Since v3.4.0