Exceptions

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

Exceptions relating to remote operations.

Exceptions:

RemoteError

Exception raised for remote errors

APIError

Exception raised for REST API errors

RemoteIDTypeError([message, kind, value])

Exception raised for remote ID type errors.

RemoteObjectTypeError([message, kind, value])

Exception raised for remote object type errors.

exception musify.libraries.remote.core.exception.RemoteError

Bases: MusifyError

Exception raised for remote errors

exception musify.libraries.remote.core.exception.APIError

Bases: RemoteError

Exception raised for REST API errors

exception musify.libraries.remote.core.exception.RemoteIDTypeError(message=None, kind=None, value=None)

Bases: RemoteError

Exception raised for remote ID type errors.

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

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

exception musify.libraries.remote.core.exception.RemoteObjectTypeError(message=None, kind=None, value=None)

Bases: RemoteError

Exception raised for remote object type errors.

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

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