Share via


JsonRpcError.ErrorDetail.Code Property

Definition

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

[System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)]
public StreamJsonRpc.Protocol.JsonRpcErrorCode Code { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)>]
member this.Code : StreamJsonRpc.Protocol.JsonRpcErrorCode with get, set
Public Property Code As JsonRpcErrorCode

Property Value

The error codes from and including -32768 to -32000 are reserved for errors defined by the spec or this library. Codes outside that range are available for app-specific error codes.

Attributes

Applies to