import * as tsplus_module_1 from "@effect/core/io/Cause/errors";
import * as tsplus_module_2 from "@effect/core/io/Exit/operations/die";
import { TakeInternal } from "@effect/core/stream/Take/operations/_internal/TakeInternal";
/**
 * Creates a failing `Take<never, never>` with the specified error message.
 *
 * @tsplus static ets/Take/Ops dieMessage
 */

export function dieMessage(message) {
  return new TakeInternal(tsplus_module_2.die(new tsplus_module_1.RuntimeError(message)));
}
//# sourceMappingURL=dieMessage.mjs.map