IntelligenceX
Class

JsonRpcError

Namespace IntelligenceX.Rpc
Assembly IntelligenceX
Modifiers sealed

Represents a JSON-RPC error payload.

Inheritance

  • Object
  • JsonRpcError

Constructors

public JsonRpcError(Int32 code, String message, JsonValue data) #

Initializes a new JSON-RPC error.

Parameters

code System.Int32
Error code.
message System.String
Error message.
data IntelligenceX.Json.JsonValue
Optional error data.

Methods

public override String ToString() #
Returns: String

Returns a human-readable error string.

Properties

public Int32 Code { get; } #

Gets the error code.

public String Message { get; } #

Gets the error message.

public JsonValue Data { get; } #

Gets optional error data.