Enum Class ErrorCode

java.lang.Object
java.lang.Enum<ErrorCode>
io.github.doocs.im.constant.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>, java.lang.constant.Constable

public enum ErrorCode extends Enum<ErrorCode>
公共错误码
Since:
2021/10/30 9:54
Author:
bingo
  • Enum Constant Details

    • SUCCESS

      public static final ErrorCode SUCCESS
      REST API 公共错误码:...
    • MSG_TEXT_SECURITY_STRIKE

      public static final ErrorCode MSG_TEXT_SECURITY_STRIKE
    • HTTP_PARSE_ERROR

      public static final ErrorCode HTTP_PARSE_ERROR
    • HTTP_JSON_PARSE_ERROR

      public static final ErrorCode HTTP_JSON_PARSE_ERROR
    • WRONG_ACCOUNT_OR_SIGNATURE

      public static final ErrorCode WRONG_ACCOUNT_OR_SIGNATURE
    • WRONG_ACCOUNT_OR_SIGNATURE_2

      public static final ErrorCode WRONG_ACCOUNT_OR_SIGNATURE_2
    • INVALID_SDK_APP_ID

      public static final ErrorCode INVALID_SDK_APP_ID
    • EXCEED_FREQUENCY_LIMIT_REST_API

      public static final ErrorCode EXCEED_FREQUENCY_LIMIT_REST_API
    • SERVICE_TIMEOUT_OR_WRONG_HTTP_REQUEST_FORMAT

      public static final ErrorCode SERVICE_TIMEOUT_OR_WRONG_HTTP_REQUEST_FORMAT
    • REQUEST_RESOURCE_ERROR

      public static final ErrorCode REQUEST_RESOURCE_ERROR
    • NEED_ADMIN_AUTHORITY

      public static final ErrorCode NEED_ADMIN_AUTHORITY
    • EXCEED_FREQUENCY_LIMIT_SDK_APP_ID

      public static final ErrorCode EXCEED_FREQUENCY_LIMIT_SDK_APP_ID
    • NEED_SDK_APP_ID

      public static final ErrorCode NEED_SDK_APP_ID
    • HTTP_RESPONSE_JSON_PARSE_ERROR

      public static final ErrorCode HTTP_RESPONSE_JSON_PARSE_ERROR
    • DISPLACE_ACCOUNT_TIMEOUT

      public static final ErrorCode DISPLACE_ACCOUNT_TIMEOUT
    • WRONG_ACCOUNT_TYPE

      public static final ErrorCode WRONG_ACCOUNT_TYPE
    • SDK_APP_ID_DISABLED

      public static final ErrorCode SDK_APP_ID_DISABLED
    • REQUEST_DISABLED

      public static final ErrorCode REQUEST_DISABLED
    • REQUEST_TOO_FREQUENT

      public static final ErrorCode REQUEST_TOO_FREQUENT
    • REQUEST_TOO_FREQUENT_2

      public static final ErrorCode REQUEST_TOO_FREQUENT_2
    • EXPIRED_PRO_PACKAGE

      public static final ErrorCode EXPIRED_PRO_PACKAGE
    • ILLEGAL_IP_REST_API

      public static final ErrorCode ILLEGAL_IP_REST_API
  • Method Details

    • values

      public static ErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public Integer getCode()
    • getInfo

      public String getInfo()