类的使用
cn.bbwres.biscuit.exception.constants.ErrorCode
-
使用ErrorCode的程序包 程序包 说明 cn.bbwres.biscuit.dto cn.bbwres.biscuit.exception.constants -
-
cn.bbwres.biscuit.dto中ErrorCode的使用
参数类型为ErrorCode的cn.bbwres.biscuit.dto中的方法 修饰符和类型 方法 说明 static <T> Result<T>Result. error(ErrorCode errorCode)处理失败static <T> Result<T>Result. error(ErrorCode errorCode, String errorMsg)处理失败 -
cn.bbwres.biscuit.exception.constants中ErrorCode的使用
声明为ErrorCode的cn.bbwres.biscuit.exception.constants中的字段 修饰符和类型 字段 说明 static ErrorCodeGlobalErrorCodeConstants. BAD_REQUESTstatic ErrorCodeGlobalErrorCodeConstants. BUSINESS_ERROR通用的业务处理失败状态码 000 系统 000 业务 000 异常明细static ErrorCodeGlobalErrorCodeConstants. FORBIDDENstatic ErrorCodeGlobalErrorCodeConstants. GLOBAL_HTTP_CODE_PREFIX请求参数不正确static ErrorCodeGlobalErrorCodeConstants. INTERNAL_SERVER_ERRORstatic ErrorCodeGlobalErrorCodeConstants. INVALID_CAPTCHAstatic ErrorCodeGlobalErrorCodeConstants. INVALID_TOKENstatic ErrorCodeGlobalErrorCodeConstants. LOCKEDstatic ErrorCodeGlobalErrorCodeConstants. METHOD_NOT_ALLOWEDstatic ErrorCodeGlobalErrorCodeConstants. NOT_FOUNDstatic ErrorCodeGlobalErrorCodeConstants. SUCCESS成功static ErrorCodeGlobalErrorCodeConstants. TOO_MANY_REQUESTSstatic ErrorCodeGlobalErrorCodeConstants. UNAUTHORIZED
-