spotifywebapipython.spotifyapierror

@export
class SpotifyApiError(builtins.Exception):

Exception 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.
Message: str

A description of the cause of the error.

def ToString(self) -> str:

Returns a displayable string representation of the class.