import * as tsplus_module_1 from "@effect/core/io/Effect/operations/die";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/fromEffect";
/**
 * Returns a stream that dies with the specified defect.
 *
 * @tsplus static ets/Stream/Ops die
 */

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