public final class JsonrpcResponseMessageErrorConstants extends Object
JsonrpcResponseMessageError interface.| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_INTERNAL_ERROR
A predefined
PROPERTY_NAME_CODE property value for internal errors. |
static int |
CODE_INVALID_PARAMS
A predefined
PROPERTY_NAME_CODE property value for an invalid . |
static int |
CODE_INVALID_REQUEST
A predefined
PROPERTY_NAME_CODE property value for representing invalid requests. |
static int |
CODE_METHOD_NOT_FOUND
A predefined
PROPERTY_NAME_CODE property value for an unknown . |
static int |
CODE_PARSE_ERROR
A predefined
PROPERTY_NAME_CODE property value for representing parse errors. |
static int |
CODE_RESERVED_FOR_PREDEFINED_ERRORS_MAX
The maximum value of
PROPERTY_NAME_CODE property for pre-defined errors. |
static int |
CODE_RESERVED_FOR_PREDEFINED_ERRORS_MIN
The minimum value of
PROPERTY_NAME_CODE property for pre-defined errors. |
static int |
CODE_SERVER_ERROR_MAX
The maximum value of
PROPERTY_NAME_CODE property value for server errors. |
static int |
CODE_SERVER_ERROR_MIN
The minimum value of
PROPERTY_NAME_CODE property value for server errors. |
static String |
PROPERTY_NAME_CODE
The name of the property for error code.
|
static String |
PROPERTY_NAME_DATA
The name of the error data.
|
static String |
PROPERTY_NAME_MESSAGE
The name of the property for error message.
|
public static final String PROPERTY_NAME_CODE
A Number that indicates the error type that occurred.
This MUST be an integer.
public static final int CODE_RESERVED_FOR_PREDEFINED_ERRORS_MIN
PROPERTY_NAME_CODE property for pre-defined errors.public static final int CODE_RESERVED_FOR_PREDEFINED_ERRORS_MAX
PROPERTY_NAME_CODE property for pre-defined errors.public static final int CODE_PARSE_ERROR
PROPERTY_NAME_CODE property value for representing parse errors.
Invalid JSON was received by the server.
An error occurred on the server while parsing the JSON text.
public static final int CODE_INVALID_REQUEST
PROPERTY_NAME_CODE property value for representing invalid requests.
The JSON sent is not a valid Request object.
public static final int CODE_METHOD_NOT_FOUND
PROPERTY_NAME_CODE property value for an unknown .
The method does not exist / is not available.
public static final int CODE_INVALID_PARAMS
PROPERTY_NAME_CODE property value for an invalid .
Invalid method parameter(s).
public static final int CODE_INTERNAL_ERROR
PROPERTY_NAME_CODE property value for internal errors.
Internal JSON-RPC error.
public static final int CODE_SERVER_ERROR_MIN
PROPERTY_NAME_CODE property value for server errors. The value is -32099.
Reserved for implementation-defined server-errors.
public static final int CODE_SERVER_ERROR_MAX
PROPERTY_NAME_CODE property value for server errors. The value is -32000.
Reserved for implementation-defined server-errors.
public static final String PROPERTY_NAME_MESSAGE
A String providing a short description of the error.
The message SHOULD be limited to a concise single sentence.
public static final String PROPERTY_NAME_DATA
A Primitive or Structured value that contains additional information about the error.
This may be omitted.
The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
Copyright © 2019–2020 Jinahya, Inc.. All rights reserved.