toggle menu
Kaptos
0.1.2-beta
common
switch theme
search in API
Kaptos
/
xyz.mcxross.kaptos.exception
/
AptosApiError
Aptos
Api
Error
class
AptosApiError
(
val
request
:
AptosRequest
,
val
response
:
AptosResponse
,
message
:
String
)
:
Exception
The type returned from an API error
Members
Constructors
Aptos
Api
Error
Link copied to clipboard
constructor
(
request
:
AptosRequest
,
response
:
AptosResponse
,
message
:
String
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
data
Link copied to clipboard
val
data
:
Any
the response data
message
Link copied to clipboard
open
val
message
:
String
?
name
Link copied to clipboard
val
name
:
String
request
Link copied to clipboard
val
request
:
AptosRequest
response
Link copied to clipboard
val
response
:
AptosResponse
status
Link copied to clipboard
val
status
:
Int
status
Text
Link copied to clipboard
val
statusText
:
String
url
Link copied to clipboard
val
url
:
String
the url the request was made to
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String