import * as tsplus_module_1 from "@effect/core/io/Cause/operations/map";
/**
 * Maps the error value of this cause to the specified constant value.
 *
 * @tsplus fluent ets/Cause as
 */

export function as_(self, error) {
  return tsplus_module_1.map_(self, error);
}
/**
 * Maps the error value of this cause to the specified constant value.
 *
 * @tsplus static ets/Cause/Aspects as
 */

export const as = error => self => as_(self, error);
//# sourceMappingURL=as.mjs.map