Language

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

Name Description
JsonRpcError.ErrorDetail()

Properties

Name Description
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

Name Description
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