toggle menu
lavakord
common
switch theme
search in API
core
/
dev.schlaubi.lavakord
/
RestException
Rest
Exception
data
class
RestException
(
val
error
:
Error
,
val
request
:
HttpRequest
)
:
IllegalStateException
Exception indicating a REST request failed.
Members
Constructors
Rest
Exception
Link copied to clipboard
constructor
(
error
:
Error
,
request
:
HttpRequest
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
error
Link copied to clipboard
val
error
:
Error
the RestError response
message
Link copied to clipboard
open
val
message
:
String
?
request
Link copied to clipboard
val
request
:
HttpRequest
the
HttpRequest
which failed