Variable: JSONRPCErrorCode
constJSONRPCErrorCode:object
The error codes of the JSON-RPC 2.0 responses sent by jsonRPCServiceEntrypoint.
Type Declaration
INTERNAL_ERROR
readonlyINTERNAL_ERROR:-32603
Reserved by the specification for the internal errors; the adapter does not send it.
INVALID_PARAMS
readonlyINVALID_PARAMS:-32602
The params are given by position without the positionalParams option, or fail the action's input validation (InvalidValueException).
INVALID_REQUEST
readonlyINVALID_REQUEST:-32600
The message is not a JSON-RPC 2.0 request (or is an empty batch, or the HTTP request is not a POST to the path).
METHOD_NOT_FOUND
readonlyMETHOD_NOT_FOUND:-32601
No service action matches the request (ControllerActionNotFoundException).
PARSE_ERROR
readonlyPARSE_ERROR:-32700
The message is not valid JSON.
SERVER_ERROR
readonlySERVER_ERROR:-32000
Any other error thrown by an action (in the server error range, -32000 to -32099), with the whole error object as the error's data.
STOPPING
readonlySTOPPING:-32001
The entrypoint is stopping and refuses the new requests (EntrypointStoppedException).