Table of Contents

Class ApiException

Namespace
Aptos.Exceptions
Assembly
Aptos.dll
public class ApiException : BaseException, ISerializable
Inheritance
ApiException
Implements
Inherited Members

Constructors

ApiException(ApiType, AptosRequest, AptosResponse<object>)

public ApiException(ApiType type, AptosRequest request, AptosResponse<object> response)

Parameters

type ApiType
request AptosRequest
response AptosResponse<object>

Fields

Data

The error object returned by the API. This can be a JObject or a string.

public readonly object Data

Field Value

object

Request

public readonly AptosRequest Request

Field Value

AptosRequest

Status

public readonly int Status

Field Value

int

StatusText

public readonly string StatusText

Field Value

string

Url

public readonly string Url

Field Value

string