Axer
Toggle table of contents
1.1.10
common
Platform filter
common
Switch theme
Search in API
Axer
Axer
/
io.github.orioneee.domain.other
/
BaseResponse
Base
Response
common
@
Serializable
data
class
BaseResponse
<
T
>
(
val
status
:
String
,
val
error
:
String
?
=
null
,
val
data
:
T
?
=
null
)
Members
Constructors
Base
Response
Link copied to clipboard
common
constructor
(
status
:
String
,
error
:
String
?
=
null
,
data
:
T
?
=
null
)
Properties
data
Link copied to clipboard
common
val
data
:
T
?
=
null
error
Link copied to clipboard
common
val
error
:
String
?
=
null
status
Link copied to clipboard
common
val
status
:
String
Functions
to
Result
Link copied to clipboard
common
fun
toResult
(
)
:
Result
<
T
>