示例#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)));
 }