Represents an error returned from the Aptos API.
This class encapsulates the details of the error, including the request URL, response status, and additional data.
Param: name
The name of the error, which is always "AptosApiError".
Param: url
The URL to which the request was made.
Param: status
The HTTP response status code (e.g., 400).
Param: statusText
The message associated with the response status.
Param: data
The response data returned from the API.
Param: request
The original AptosRequest that triggered the error.
Represents an error returned from the Aptos API. This class encapsulates the details of the error, including the request URL, response status, and additional data.
Param: name
The name of the error, which is always "AptosApiError".
Param: url
The URL to which the request was made.
Param: status
The HTTP response status code (e.g., 400).
Param: statusText
The message associated with the response status.
Param: data
The response data returned from the API.
Param: request
The original AptosRequest that triggered the error.