import * as tsplus_module_1 from "@effect/core/io/Exit/operations/failCause";
import * as tsplus_module_2 from "@effect/core/io/Fiber/operations/done";
/**
 * Creates a `Fiber` that has already failed with the specified cause.
 *
 * @tsplus static ets/Fiber/Ops failCause
 */

export function failCause(cause) {
  return tsplus_module_2.done(tsplus_module_1.failCause(cause));
}
//# sourceMappingURL=failCause.mjs.map