Skip to content

Class JsonRpcError

Namespace: Cephalon.Behaviors.Http.Bindings
Assembly: Cephalon.Behaviors.Http.dll

Represents the error object inside a JSON-RPC 2.0 error response.

public sealed class JsonRpcError

objectJsonRpcError

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Gets or sets the numeric error code.

[JsonPropertyName("code")]
public int Code { get; set; }

int

Gets or sets optional additional error data.

[JsonPropertyName("data")]
public string? Data { get; set; }

string?

Gets or sets the short error message.

[JsonPropertyName("message")]
public string Message { get; set; }

string