Equivalent to Haskell's `failWith` in Effect Typescript
Hi, is there an equivalent to Haskell’s
Instead of manually calling
failWith? i.e Effect<Option<A>>, E1> -> (() -> E2) -> Effect<A, E1 | E2>Instead of manually calling
flatten and catchTag NoSuchElementException (that feels like introspecting the impl of Option)