ktkit
Toggle table of contents
0.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
ktkit
ktkit-ktor-httpclient
/
io.github.smyrgeorge.ktkit.ktor.httpclient
/
RestClientErrorSpec
Rest
Client
Error
Spec
interface
RestClientErrorSpec
:
ErrorSpec
(
source
)
Inheritors
RestClientReceiveError
RestClientRequestError
RestClientDeserializationError
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Rest
Client
Deserialization
Error
Link copied to clipboard
data
class
RestClientDeserializationError
(
val
cause
:
Throwable
)
:
RestClientErrorSpec
Rest
Client
Receive
Error
Link copied to clipboard
data
class
RestClientReceiveError
(
val
cause
:
ApiError
)
:
RestClientErrorSpec
Rest
Client
Request
Error
Link copied to clipboard
data
class
RestClientRequestError
(
val
cause
:
Throwable
)
:
RestClientErrorSpec
Properties
http
Status
Link copied to clipboard
abstract
val
httpStatus
:
ErrorSpec.HttpStatus
message
Link copied to clipboard
abstract
val
message
:
String
Functions
data
Link copied to clipboard
open
fun
data
(
)
:
ErrorSpecData
raise
Link copied to clipboard
context
(
rc
:
Raise
<
RestClientErrorSpec
>
)
fun
RestClientErrorSpec
.
raise
(
)
:
Nothing
throw
Runtime
Error
Link copied to clipboard
open
fun
throwRuntimeError
(
throwable
:
Throwable
?
)
:
Nothing
to
Throwable
Link copied to clipboard
open
fun
toThrowable
(
throwable
:
Throwable
?
)
:
RuntimeError