const fileName_1 = "(@effect/core) _src/io/Metrics/operations/trackError.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/io/Metrics/operations/trackErrorWith";
/**
 * Returns an aspect that will update this metric with the failure value of
 * the effects that it is applied to.
 *
 * @tsplus getter ets/Metrics/Metric trackError
 */

export function trackError(self) {
  return (effect, __tsplusTrace) => tsplus_module_2.trackErrorWith_(self, tsplus_module_1.identity)(effect, fileName_1 + ":9:52");
}
//# sourceMappingURL=trackError.mjs.map