elasticmagic-kt
0.0.31
common
elasticmagic-transport
/
dev.evo.elasticmagic.transport
/
ResponseResult
Response
Result
sealed
class
ResponseResult
<
T
>
Types
Inheritors
Types
Error
Link copied to clipboard
data
class
Error
(
val
statusCode
:
Int
,
val
headers
:
Map
<
String
,
List
<
String
>
>
,
val
contentType
:
String
?
,
val
error
:
TransportError
)
:
ResponseResult
<
Nothing
>
Exception
Link copied to clipboard
data
class
Exception
(
val
cause
:
Throwable
)
:
ResponseResult
<
Nothing
>
Ok
Link copied to clipboard
data
class
Ok
<
T
>
(
val
statusCode
:
Int
,
val
headers
:
Map
<
String
,
List
<
String
>
>
,
val
contentType
:
String
?
,
val
result
:
T
)
:
ResponseResult
<
T
>
Inheritors
Ok
Link copied to clipboard
Error
Link copied to clipboard
Exception
Link copied to clipboard