File: udtexceptions.py

package info (click to toggle)
ubuntu-dev-tools 0.166
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,116 kB
  • sloc: python: 8,818; sh: 1,144; perl: 167; makefile: 10
file content (28 lines) | stat: -rw-r--r-- 654 bytes parent folder | download
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
27
28
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