TMDiscoveryAPIError

data class TMDiscoveryAPIError(val code: String, val detail: String, val status: String) : Parcelable

Represents an error response from the Discovery API.

Holds error details including code, detail, and status.

Constructors

Link copied to clipboard
constructor(code: String, detail: String, status: String)

Properties

Link copied to clipboard
@SerializedName(value = "code")
val code: String

The error code.

Link copied to clipboard
@SerializedName(value = "detail")
val detail: String

The error detail message.

Link copied to clipboard
@SerializedName(value = "status")
val status: String

The error status.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)