toggle menu
bluegps_sdk
androidJvm
switch theme
search in API
bluegps_sdk
/
com.synapseslab.bluegps_sdk.utils
/
Resource
Resource
sealed
class
Resource
<
T
:
Any
>
Inheritors
Success
Error
Exception
Members
Types
Error
Link copied to clipboard
data
class
Error
<
T
:
Any
>
(
val
code
:
Int
,
val
message
:
String
,
val
trace
:
String
?
=
null
,
val
alert
:
AlertBean
?
=
null
)
:
Resource
<
T
>
Exception
Link copied to clipboard
data
class
Exception
<
T
:
Any
>
(
val
e
:
Throwable
)
:
Resource
<
T
>
Success
Link copied to clipboard
data
class
Success
<
T
:
Any
>
(
val
data
:
T
)
:
Resource
<
T
>