spotifywebapipython.spotifyapierror
@export
class
SpotifyApiErrorException thrown when a SpotifyApi error occurs.
SpotifyApiError( message: str, ex: Exception = None, logsi: smartinspectpython.sisession.SISession = None)
Initializes a new instance of the class.
Arguments:
- message (str): A short description of the cause of the error.
- ex (Exception): Inner exception that caused the current exception.
Default is None. - logsi (SISession): Trace session object that this exception will be logged to, or null to bypass trace logging.
Default is None.