import * as tsplus_module_1 from "@effect/core/io/Effect/operations/succeedNow";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/foldTraceEffect";
/**
 * A version of `catchAll` that gives you the (optional) trace of the error.
 *
 * @tsplus fluent ets/Effect catchAllTrace
 */

export function catchAllTrace_(self, h, __tsplusTrace) {
  return tsplus_module_2.foldTraceEffect_(self, h, tsplus_module_1.succeedNow, __tsplusTrace);
}
/**
 * A version of `catchAll` that gives you the (optional) trace of the error.
 *
 * @tsplus static ets/Effect/Aspects catchAllTrace
 */

export const catchAllTrace = (h, __tsplusTrace) => self => catchAllTrace_(self, h, __tsplusTrace);
//# sourceMappingURL=catchAllTrace.mjs.map