类 ResponseCode

java.lang.Object
com.alibaba.nacos.api.common.ResponseCode
直接已知子类:
NamingResponseCode

public class ResponseCode extends Object
Response code definitions.

This class and inherited classes define codes separated from HTTP code to provide richer and preciser information of the API results. A recommended rule for defining response code is:

  • Global and common code starts with 10001.
  • Naming module code starts with 20001.
  • Config module code starts with 30001.
  • Core module code starts with 40001.
  • 从以下版本开始:
    1.2.0
    作者:
    nkorange
    • 字段详细资料

      • OK

        public static final int OK
        Everything normal.
        另请参阅:
        常量字段值
    • 构造器详细资料

      • ResponseCode

        public ResponseCode()