/** * Keeps some of the errors, and terminates the fiber with the rest * * @tsplus static effect/core/io/Effect.Aspects refineOrDie * @tsplus pipeable effect/core/io/Effect refineOrDie */ export function refineOrDie(pf: (e: E) => Maybe) { return (self: Effect): Effect => self.refineOrDieWith(pf, identity) }