/** * Maps the error value of this effect to an optional value. * * @tsplus getter effect/core/stm/STM asSomeError */ export function asSomeError(self: STM): STM, A> { return self.mapError(Maybe.some) }