JsonRpcError.ErrorDetail Class

Definition

Describes the error.

[System.Runtime.Serialization.DataContract]
public class JsonRpcError.ErrorDetail
[<System.Runtime.Serialization.DataContract>]
type JsonRpcError.ErrorDetail = class
Public Class JsonRpcError.ErrorDetail
Inheritance
JsonRpcError.ErrorDetail
Attributes

Constructors

JsonRpcError.ErrorDetail()

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