Uses of Class
org.starcoin.jsonrpc.JSONRPC2Error
-
Packages that use JSONRPC2Error Package Description org.starcoin.jsonrpc -
-
Uses of JSONRPC2Error in org.starcoin.jsonrpc
Fields in org.starcoin.jsonrpc declared as JSONRPC2Error Modifier and Type Field Description static JSONRPC2ErrorJSONRPC2Error. INTERNAL_ERRORInternal JSON-RPC 2.0 error (-32603).static JSONRPC2ErrorJSONRPC2Error. INVALID_PARAMSInvalid parameters error (-32602).static JSONRPC2ErrorJSONRPC2Error. INVALID_REQUESTInvalid JSON-RPC 2.0 request error (-32600).static JSONRPC2ErrorJSONRPC2Error. METHOD_NOT_FOUNDMethod not found error (-32601).static JSONRPC2ErrorJSONRPC2Error. PARSE_ERRORJSON parse error (-32700).Methods in org.starcoin.jsonrpc that return JSONRPC2Error Modifier and Type Method Description JSONRPC2ErrorJSONRPC2Error. appendMessage(String apx)Appends the specified string to the message of this JSON-RPC 2.0 error.JSONRPC2ErrorJSONRPC2Response. getError()Gets the error object indicating the cause of the request failure.Methods in org.starcoin.jsonrpc with parameters of type JSONRPC2Error Modifier and Type Method Description voidJSONRPC2Response. setError(JSONRPC2Error error)Indicates a failed JSON-RPC 2.0 request and sets the error details.Constructors in org.starcoin.jsonrpc with parameters of type JSONRPC2Error Constructor Description JSONRPC2Response(JSONRPC2Error error, Object id)Creates a new JSON-RPC 2.0 response to a failed request.
-