Show / Hide Table of Contents

Class ErrorResponse

Inheritance
object
BaseResponse
ErrorResponse
Inherited Members
BaseResponse.RawId
BaseResponse.Status
BaseResponse.Type
BaseResponse.RawResult
BaseResponse.Warning
BaseResponse.Warnings
BaseResponse.Forwarded
BaseResponse.ApiVersion
Namespace: Xrpl.Models.Subscriptions
Assembly: Xrpl.dll
Syntax
public class ErrorResponse : BaseResponse

Properties

| Edit this page View Source

Error

A unique code for the type of error that occurred.

Declaration
[JsonPropertyName("error")]
public string Error { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ErrorCode

Declaration
[JsonPropertyName("error_code")]
public int? ErrorCode { get; set; }
Property Value
Type Description
int?
| Edit this page View Source

ErrorException

Declaration
[JsonPropertyName("error_exception")]
public string? ErrorException { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ErrorMessage

(WebSocket only) The value success indicates the request was successfully received and understood by the server.
Some client libraries omit this field on success.

Declaration
[JsonPropertyName("error_message")]
public string ErrorMessage { get; set; }
Property Value
Type Description
string
| Edit this page View Source

RawRequest

A copy of the request that prompted this error, exactly as the node echoed it back.

Declaration
[JsonIgnore]
public RawJson RawRequest { get; }
Property Value
Type Description
RawJson
Remarks

Caution: if the original request carried secrets, they are echoed here — same warning as the field it replaces.

Extension Methods

Utilities.HasNextPage(BaseResponse)
XrplErrorClassifier.Classify(ErrorResponse)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX