JsonRpcError.ErrorDetail.Code Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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