示例#1
0
 public static IProcessError <T, TAction> GetUnknownError <T, TAction>(this IProcessErrorFactory <T, TAction> factory) => factory.GetError(factory.UnknownError, ExceptionMessages.UnknownError, HResult.Fail);
示例#2
0
 public static IProcessError <T, TAction> GetNoErrorError <T, TAction>(this IProcessErrorFactory <T, TAction> factory) => factory.GetError(factory.NoError, ExceptionMessages.NoError, ErrorCode.NoError);