import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/refineOrDieWith";
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 *
 * @tsplus fluent ets/Effect refineOrDie
 */

export function refineOrDie_(self, pf, __tsplusTrace) {
  return tsplus_module_2.refineOrDieWith_(self, pf, tsplus_module_1.identity, __tsplusTrace);
}
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 *
 * @tsplus static ets/Effect/Aspects refineOrDie
 */

export const refineOrDie = (pf, __tsplusTrace) => self => refineOrDie_(self, pf, __tsplusTrace);
//# sourceMappingURL=refineOrDie.mjs.map