Class ApiException
- Namespace
- Aptos.Exceptions
- Assembly
- Aptos.dll
public class ApiException : BaseException, ISerializable
- Inheritance
-
ApiException
- Implements
- Inherited Members
Constructors
ApiException(ApiType, AptosRequest, AptosResponse<dynamic>)
public ApiException(ApiType type, AptosRequest request, AptosResponse<dynamic> response)
Parameters
type
ApiTyperequest
AptosRequestresponse
AptosResponse<dynamic>
Fields
Data
The error object returned by the API. This can be a JObject or a string.
public readonly dynamic Data
Field Value
- dynamic
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