Clarified error.
This commit is contained in:
@ -78,6 +78,8 @@ public class JSONRPC2ExtendedError extends JSONRPC2Error {
|
||||
|
||||
/** Code used for invalid JSON-RPC 2.0, implementation defined error. Error describes missing parameter/parameters */
|
||||
public static final int CODE_MISSING_PARAMETER = -32005;
|
||||
public static final JSONRPC2Error MISSING_PARAMTER = new JSONRPC2ExtendedError(CODE_MISSING_PARAMETER, "Required parameter(s) is(/are) missing from the method call.");
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new JSON-RPC 2.0 error with the specified code and
|
||||
|
Reference in New Issue
Block a user