JsonRpcError.ErrorDetail Class

Definition

Describes the error.

C#
[System.Runtime.Serialization.DataContract]
public class JsonRpcError.ErrorDetail
Inheritance
JsonRpcError.ErrorDetail
Attributes

Constructors

Properties

Code

Gets or sets a number that indicates the error type that occurred.

Data

Gets or sets additional data about the error.

Message

Gets or sets a short description of the error.

Methods

GetData(Type)

Gets the value of the Data, taking into account any possible type coercion.

GetData<T>()

Gets the value of the Data, taking into account any possible type coercion.

SetExpectedDataType(Type)

Provides a hint for a deferred deserialization of the Data value as to the type argument that will be used when calling GetData<T>() later.

Applies to

Produkt Verzie
StreamJsonRpc 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9