ubuntu-dev-tools/ubuntutools/lp/udtexceptions.py

20 lines
510 B
Python
Raw Normal View History

class PackageNotFoundException(BaseException):
""" Thrown when a package is not found """
pass
2010-12-03 00:06:43 +01:00
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