2009-05-09 20:09:56 +01:00
|
|
|
class PackageNotFoundException(BaseException):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Thrown when a package is not found"""
|
|
|
|
|
2010-12-22 23:04:29 +02:00
|
|
|
pass
|
2010-12-03 00:06:43 +01:00
|
|
|
|
2017-05-01 00:20:03 +02:00
|
|
|
|
2009-05-09 20:09:56 +01:00
|
|
|
class SeriesNotFoundException(BaseException):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Thrown when a distroseries is not found"""
|
|
|
|
|
2010-12-22 23:04:29 +02:00
|
|
|
pass
|
2009-06-11 20:23:30 +02:00
|
|
|
|
2017-05-01 00:20:03 +02:00
|
|
|
|
2010-03-20 19:27:40 +01:00
|
|
|
class PocketDoesNotExistError(Exception):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Raised when a invalid pocket is used."""
|
|
|
|
|
2010-12-22 23:04:29 +02:00
|
|
|
pass
|
2009-07-23 14:19:21 +02:00
|
|
|
|
2017-05-01 00:20:03 +02:00
|
|
|
|
2009-07-23 14:19:21 +02:00
|
|
|
class ArchiveNotFoundException(BaseException):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Thrown when an archive for a distibution is not found"""
|
|
|
|
|
2010-12-22 23:04:29 +02:00
|
|
|
pass
|
2010-02-20 17:07:03 +01:00
|
|
|
|
2017-05-01 00:20:03 +02:00
|
|
|
|
2010-02-20 17:07:03 +01:00
|
|
|
class AlreadyLoggedInError(Exception):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Raised when a second login is attempted."""
|
|
|
|
|
2010-02-20 17:07:03 +01:00
|
|
|
pass
|
2017-04-30 20:02:06 +02:00
|
|
|
|
2017-05-01 00:20:03 +02:00
|
|
|
|
2017-04-30 20:02:06 +02:00
|
|
|
class ArchSeriesNotFoundException(BaseException):
|
|
|
|
"""Thrown when a distroarchseries is not found."""
|
2023-01-30 19:45:36 +01:00
|
|
|
|
2017-04-30 20:02:06 +02:00
|
|
|
pass
|
2017-03-31 11:26:26 -04:00
|
|
|
|
|
|
|
|
|
|
|
class InvalidDistroValueError(ValueError):
|
2023-01-30 19:45:36 +01:00
|
|
|
"""Thrown when distro value is invalid"""
|
|
|
|
|
2017-03-31 11:26:26 -04:00
|
|
|
pass
|