예제 #1
0
 public static Result <T> Bad(Exception ex)
 {
     return(new Result <T>(StatusAndMessage.Bad(ex)));
 }
예제 #2
0
 // --------------------------------------------
 public static Result <T> Bad(string msg = "Undefined error")
 {
     return(new Result <T>(StatusAndMessage.Bad(msg)));
 }