io.quarkus.devui.runtime.jsonrpc.JsonRpcKeys Maven / Gradle / Ivy
The newest version!
package io.quarkus.devui.runtime.jsonrpc;
public interface JsonRpcKeys {
public static final String VERSION = "2.0";
public static final String JSONRPC = "jsonrpc";
public static final String OBJECT = "object";
public static final String MESSAGE_TYPE = "messageType";
public static final String ID = "id";
public static final String RESULT = "result";
public static final String MESSAGE = "message";
public static final String CODE = "code";
public static final String ERROR = "error";
public static final String METHOD = "method";
public static final String PARAMS = "params";
public static final int PARSE_ERROR = -32700; // Parse error. Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
public static final int INVALID_REQUEST = -32600; // Invalid Request. The JSON sent is not a valid Request object.
public static final int METHOD_NOT_FOUND = -32601; // Method not found. The method does not exist / is not available.
public static final int INVALID_PARAMS = -32602; // Invalid params. Invalid method parameter(s).
public static final int INTERNAL_ERROR = -32603; // Internal error. Internal JSON-RPC error.
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy