Class JsonRpcError
The error object of a JSON-RPC response if the request failed.
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public class JsonRpcError : Object
Constructors
| Name | Description |
|---|---|
| JsonRpcError(Int32, String, Object) | Initialises a new JSON-RPC error response object. |
Fields
| Name | Description |
|---|---|
| CodeJsonPropertyName | JSON-RPC payload property name of the Code property. |
| DataJsonPropertyName | JSON-RPC payload property name of the Data property. |
| MessageJsonPropertyName | JSON-RPC payload property name of the Message property. |
Properties
| Name | Description |
|---|---|
| Code | Error code from the JSON-RPC server that indicates the type of the error. |
| Data |
An optional primitive or structured value that contains additional information about the rror. If no
further data is given, this property is null.
|
| Message | A short description of the error. |