import * as tsplus_module_1 from "@effect/core/io/Cause/definition";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/failCause";
/**
 * Creates a sink halting with the specified defect.
 *
 * @tsplus static ets/Sink/Ops die
 */

export function die(defect, __tsplusTrace) {
  return tsplus_module_2.failCause(() => tsplus_module_1.die(defect()), __tsplusTrace);
}
//# sourceMappingURL=die.mjs.map