JsonRpcError.ErrorDetail.Code プロパティ

定義

発生したエラーの種類を示す数値を取得または設定します。

[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)]
[System.Text.Json.Serialization.JsonPropertyName("code")]
[System.Text.Json.Serialization.JsonPropertyOrder(0)]
[System.Text.Json.Serialization.JsonRequired]
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
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)>]
[<System.Text.Json.Serialization.JsonPropertyName("code")>]
[<System.Text.Json.Serialization.JsonPropertyOrder(0)>]
[<System.Text.Json.Serialization.JsonRequired>]
member this.Code : StreamJsonRpc.Protocol.JsonRpcErrorCode with get, set
Public Property Code As JsonRpcErrorCode

プロパティ値

-32000 に対する -32768 を含むエラー コードは、仕様またはこのライブラリによって定義されたエラー用に予約されています。 その範囲外のコードは、アプリ固有のエラー コードで使用できます。

属性

適用対象