"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.orDie = void 0;
const orDieWith_1 = require("./orDieWith");
/**
 * Keeps none of the errors, and terminates the fiber with them, using
 * the specified function to convert the `E` into a `unknown`.
 */
function orDie(effect, __trace) {
    return (0, orDieWith_1.orDieWith_)(effect, (e) => e, __trace);
}
exports.orDie = orDie;
//# sourceMappingURL=orDie.js.map