lib
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
lib
lib
/
app.moviebase.trakt.core
/
TraktException
Trakt
Exception
class
TraktException
(
val
statusCode
:
Int
,
val
requestUrl
:
String
,
val
body
:
String
,
val
errorBody
:
TraktErrorBody
?
=
null
)
:
RuntimeException
Members
Constructors
Trakt
Exception
Link copied to clipboard
constructor
(
statusCode
:
Int
,
requestUrl
:
String
,
body
:
String
,
errorBody
:
TraktErrorBody
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
body
Link copied to clipboard
val
body
:
String
cause
Link copied to clipboard
expect
open
val
cause
:
Throwable
?
error
Body
Link copied to clipboard
val
errorBody
:
TraktErrorBody
?
is
Account
Limit
Exceeded
Link copied to clipboard
val
isAccountLimitExceeded
:
Boolean
is
Client
Error
Link copied to clipboard
val
isClientError
:
Boolean
is
Conflict
Link copied to clipboard
val
isConflict
:
Boolean
is
Forbidden
Link copied to clipboard
val
isForbidden
:
Boolean
is
Not
Found
Link copied to clipboard
val
isNotFound
:
Boolean
is
Rate
Limited
Link copied to clipboard
val
isRateLimited
:
Boolean
is
Retryable
Link copied to clipboard
val
isRetryable
:
Boolean
is
Server
Error
Link copied to clipboard
val
isServerError
:
Boolean
is
Unauthorized
Link copied to clipboard
val
isUnauthorized
:
Boolean
message
Link copied to clipboard
expect
open
val
message
:
String
?
request
Url
Link copied to clipboard
val
requestUrl
:
String
status
Code
Link copied to clipboard
val
statusCode
:
Int