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.

| Edit this page View Source

SearchedAll

On a txnNotFound from tx asked with min_ledger and max_ledger: true when the server searched every ledger of that range, so the transaction is in none of them. false means the range was not proven complete, and proves nothing: the server may lack a ledger, but rippled also counts only ledgers that hold a transaction, so one empty ledger in the range is enough. Absent for any other error, and for a tx asked without a range.

Declaration
[JsonPropertyName("searched_all")]
public bool? SearchedAll { get; set; }
Property Value
Type Description
bool?

Extension Methods

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