MCPcopy Create free account
hub / github.com/bigcyy/customized-chat / clientError

Method clientError

common/src/main/java/com/cyy/common/utils/R.java:53–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 public static R clientError(){
54 R r = new R();
55 r.setSuccess(false);
56 r.setCode(ErrorCode.CLIENT_ERROR.getCode());
57 r.setMessage("失败");
58 return r;
59 }
60
61 public static R error(ErrorCode errorCode) {
62 R r = new R();

Callers

nothing calls this directly

Calls 2

getCodeMethod · 0.80
setMessageMethod · 0.45

Tested by

no test coverage detected