commonMain.app.moviebase.tmdb.core.TmdbException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tmdb-api Show documentation
Show all versions of tmdb-api Show documentation
A Kotlin Multiplatform library to access the TMDB API.
The newest version!
package app.moviebase.tmdb.core
import app.moviebase.tmdb.model.TmdbErrorResponse
@Suppress("MemberVisibilityCanBePrivate")
class TmdbException(
val tmdbResponse: TmdbErrorResponse,
caused: Throwable? = null
) : IllegalStateException("Status code: ${tmdbResponse.statusCode}. Message: \"${tmdbResponse.statusMessage}\"", caused) {
val statusCode get() = tmdbResponse.statusCode
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy