import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/fail";
import { SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal";
/**
 * A sink that always fails with the specified error.
 *
 * @tsplus static ets/Sink/Ops fail
 */

export function fail(e, __tsplusTrace) {
  return new SinkInternal(tsplus_module_1.fail(e));
}
//# sourceMappingURL=fail.mjs.map