Move package management code out of subproc.py
This commit is contained in:
11
package_manager/bpkg/exceptions.py
Normal file
11
package_manager/bpkg/exceptions.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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"""
|
Reference in New Issue
Block a user