Package org.jellyfin.sdk.api.client.exception

Types

Link copied to clipboard
open class ApiClientException(message: String? = null, cause: Throwable? = null) : Exception

Base exception for the ApiClient.

Link copied to clipboard
class InvalidContentException(message: String? = null, cause: Throwable? = null) : ApiClientException

The body of the response was invalid or the serializer for the requested model was not found.

Link copied to clipboard
class InvalidStatusException(val status: Int, cause: Throwable? = null) : ApiClientException

The HTTP status was not in the 200 range.

Link copied to clipboard
class MissingBaseUrlException(cause: Throwable? = null) : ApiClientException
Link copied to clipboard
class MissingPathVariableException(    val name: String,     val path: String,     cause: Throwable? = null) : ApiClientException

A variable in the path template is missing.

Link copied to clipboard
class MissingUserIdException(cause: Throwable? = null) : ApiClientException
Link copied to clipboard
class SecureConnectionException(message: String? = null, cause: Throwable? = null) : ApiClientException

An error occurred while attempting to establish a secure connection. This can happen when the server doesn't have HTTPS enabled or the certificate is invalid.

Link copied to clipboard
class TimeoutException(message: String? = null, cause: Throwable? = null) : ApiClientException

The connection timed out. This can happen when the host is unreachable or the network is offline.