Package org.forgerock.openig.mcp.jsonrpc
Class JsonRpcResponse.JsonRpcError
java.lang.Object
org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
org.forgerock.openig.mcp.jsonrpc.JsonRpcResponse
org.forgerock.openig.mcp.jsonrpc.JsonRpcResponse.JsonRpcError
- Enclosing class:
- JsonRpcResponse
Represents a JSON-RPC error message.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStandard JSON-RPC error codes.Nested classes/interfaces inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcResponse
JsonRpcResponse.JsonRpcError, JsonRpcResponse.JsonRpcResult -
Field Summary
Fields inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
lazyJsonValue, payload -
Method Summary
Methods inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcResponse
idMethods inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
asJsonValue, toJsonRpcMessage, validate
-
Method Details
-
code
public int code()Returns the 'code' of this error.- Returns:
- the 'code' of this error
-
message
Returns the 'message' of this error.- Returns:
- the 'message' of this error
-
data
Returns the optional 'data' of this error.- Returns:
- the optional 'data' of this error
-