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