import * as tsplus_module_1 from "@tsplus/stdlib/data/Maybe/definition";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/mapError";
/**
 * Maps the error value of this effect to an optional value.
 *
 * @tsplus fluent ets/Effect asSomeError
 */

export function asSomeError(self, __tsplusTrace) {
  return tsplus_module_2.mapError_(self, tsplus_module_1.some, __tsplusTrace);
}
//# sourceMappingURL=asSomeError.mjs.map