/** * The inverse operation `sandbox(effect)` * * Terminates with exceptions on the `Left` side of the `Either` error, if it * exists. Otherwise extracts the contained `Effect< R, E, A>` * * @tsplus getter effect/core/io/Effect unsandbox */ export function unsandbox(self: Effect, A>) { return self.mapErrorCause((cause) => cause.flatten) }