<filename>yamusic/exceptions.py
"""
Exception classes for library-related errors.
"""


class BaseError(Exception):
    """
    Base module exception.
    """


class AuthenticationError(BaseError):
    """
    Authentication error.
    """


class ResponseFormatError(BaseError):
    """
    Response formant is not correct.
    """


class NotFoundError(BaseError):
    """
    Requested object not found.
    """

<filename>yamusic/exceptions.py
"""
Exception classes for library-related errors.
"""


class BaseError(Exception):
    """
    Base module exception.
    """


class AuthenticationError(BaseError):
    """
    Authentication error.
    """


class ResponseFormatError(BaseError):
    """
    Response formant is not correct.
    """


class NotFoundError(BaseError):
    """
    Requested object not found.
    """

Exception classes for library-related errors. Base module exception. Authentication error. Response formant is not correct. Requested object not found.