import * as tsplus_module_1 from "@effect/core/io/Trace/operations/none";
import * as tsplus_module_2 from "@effect/core/io/Cause/definition";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/failCause";
/**
 * Returns an effect that dies with the specified `unknown`. This method can
 * be used for terminating a fiber because a defect has been detected in the
 * code.
 *
 * @tsplus static ets/Effect/Ops dieNow
 */

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