import * as tsplus_module_1 from "@effect/core/io/Cause/definition";
import { Fail } from "@effect/core/stream/Channel/definition/primitives";
/**
 * Halt a channel with the specified error.
 *
 * @tsplus static ets/Channel/Ops failNow
 */

export function failNow(e) {
  return new Fail(() => tsplus_module_1.fail(e));
}
//# sourceMappingURL=failNow.mjs.map