12 lines
391 B
Python
12 lines
391 B
Python
class BpkgException(Exception):
|
|
"""Superclass for all package manager exceptions"""
|
|
|
|
class InstallException(BpkgException):
|
|
"""Raised when there is an error during installation"""
|
|
|
|
class DownloadException(BpkgException):
|
|
"""Raised when there is an error downloading something"""
|
|
|
|
class BadRepository(BpkgException):
|
|
"""Raised when reading a repository results in an error"""
|