ktkit
Toggle table of contents
0.8.0
common
Target filter
common
Switch theme
Search in API
Skip to content
ktkit
ktkit-ktor-httpclient
/
io.github.smyrgeorge.ktkit.ktor.httpclient
/
RestErrorMapper
/
RestErrorMapper
Rest
Error
Mapper
constructor
(
payloadType
:
TypeInfo
,
unauthorized
:
E
?
=
null
,
apiError
:
(
P
,
HttpStatusCode
)
->
E
,
networkError
:
(
Throwable
)
->
E
,
parseError
:
(
Throwable
)
->
E
)
(
source
)