UnexpectedError

class UnexpectedError(val code: String, val subStatus: Int? = null, val throwable: Throwable? = null) : TidalError

An error to be raised for unexpected errors. Can be used as a "catch all" error.

Parameters

code

The error code returned by the API.

subStatus

The TIDAL-specific error code returned by the API.

Constructors

Link copied to clipboard
constructor(code: String, subStatus: Int? = null, throwable: Throwable? = null)

Properties

Link copied to clipboard
open override val code: String
Link copied to clipboard
val subStatus: Int? = null
Link copied to clipboard
val throwable: Throwable? = null