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
ApiTyperequest
AptosRequestresponse
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
Request
public readonly AptosRequest Request
Field Value
Status
public readonly int Status
Field Value
StatusText
public readonly string StatusText
Field Value
Url
public readonly string Url