Exceptions

Inheritance diagram of musify.libraries.remote.spotify.exception

Exceptions relating to Spotify operations.

Exceptions:

SpotifyError([message])

Exception raised for Spotify ID errors.

SpotifyItemError([message, kind])

Exception raised for Spotify item errors.

SpotifyCollectionError([message, kind])

Exception raised for Spotify collection errors.

exception musify.libraries.remote.spotify.exception.SpotifyError(message=None)

Bases: RemoteError

Exception raised for Spotify ID errors.

Parameters:

message (str | None (default: None)) – Explanation of the error.

exception musify.libraries.remote.spotify.exception.SpotifyItemError(message=None, kind=None)

Bases: SpotifyError

Exception raised for Spotify item errors.

Parameters:
  • message (str | None (default: None)) – Explanation of the error.

  • kind (str | None (default: None)) – The item type related to the error.

exception musify.libraries.remote.spotify.exception.SpotifyCollectionError(message=None, kind=None)

Bases: SpotifyError

Exception raised for Spotify collection errors.

Parameters:
  • message (str | None (default: None)) – Explanation of the error.

  • kind (str | None (default: None)) – The collection type related to the error.