Constructor JsonRpcError
JsonRpcError(Int32, String, Object)
Initialises a new JSON-RPC error response object.
Declaration
public JsonRpcError(int code, string message, object data)
Parameters
Type | Name | Description |
---|---|---|
Int32 | code | The JSON-RPC error code. |
String | message | A short description String of the error. |
Object | data | An optional primitive or structured value with additional information about the error. |