File: udtexceptions.py

package info (click to toggle)
ubuntu-dev-tools 0.208
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: python: 9,118; sh: 1,330; perl: 135; makefile: 11
file content (26 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class PackageNotFoundException(BaseException):
    """Thrown when a package is not found"""


class SeriesNotFoundException(BaseException):
    """Thrown when a distroseries is not found"""


class PocketDoesNotExistError(Exception):
    """Raised when a invalid pocket is used."""


class ArchiveNotFoundException(BaseException):
    """Thrown when an archive for a distibution is not found"""


class AlreadyLoggedInError(Exception):
    """Raised when a second login is attempted."""


class ArchSeriesNotFoundException(BaseException):
    """Thrown when a distroarchseries is not found."""


class InvalidDistroValueError(ValueError):
    """Thrown when distro value is invalid"""