mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
instead of a function that calls the system program rmadison, use a fully-functional class to interface with the madison api, as well as the debian snapshot api
34 lines
756 B
Python
34 lines
756 B
Python
class PackageNotFoundException(BaseException):
|
|
""" Thrown when a package is not found """
|
|
pass
|
|
|
|
|
|
class SeriesNotFoundException(BaseException):
|
|
""" Thrown when a distroseries is not found """
|
|
pass
|
|
|
|
|
|
class PocketDoesNotExistError(Exception):
|
|
'''Raised when a invalid pocket is used.'''
|
|
pass
|
|
|
|
|
|
class ArchiveNotFoundException(BaseException):
|
|
""" Thrown when an archive for a distibution is not found """
|
|
pass
|
|
|
|
|
|
class AlreadyLoggedInError(Exception):
|
|
'''Raised when a second login is attempted.'''
|
|
pass
|
|
|
|
|
|
class ArchSeriesNotFoundException(BaseException):
|
|
"""Thrown when a distroarchseries is not found."""
|
|
pass
|
|
|
|
|
|
class InvalidDistroValueError(ValueError):
|
|
""" Thrown when distro value is invalid """
|
|
pass
|