import * as tsplus_module_1 from "@tsplus/stdlib/data/Maybe/definition";
import * as tsplus_module_2 from "@effect/core/io/Exit/operations/fail";
import { TakeInternal } from "@effect/core/stream/Take/operations/_internal/TakeInternal";
/**
 * Creates a failing `Take<E, unknown>` with the specified failure.
 *
 * @tsplus static ets/Take/Ops fail
 */

export function fail(e) {
  return new TakeInternal(tsplus_module_2.fail(tsplus_module_1.some(e)));
}
//# sourceMappingURL=fail.mjs.map