import * as tsplus_module_1 from "@tsplus/stdlib/data/Maybe/definition";
import * as tsplus_module_2 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/unrefineWith";
/**
 * Unearth the unchecked failure of the effect (opposite of `orDie`).
 *
 * @tsplus fluent ets/Effect resurrect
 */

export function resurrect(self, __tsplusTrace) {
  return tsplus_module_3.unrefineWith_(self, tsplus_module_1.some, tsplus_module_2.identity, __tsplusTrace);
}
//# sourceMappingURL=resurrect.mjs.map