summaryrefslogtreecommitdiff
path: root/lib/thandy/__init__.py
blob: 6b00c05f1faa99bf7e34e8209397868187e1ad2c (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2008 The Tor Project, Inc.  See LICENSE for licensing information.

__all__ = [ 'formats' ]

_BaseException = Exception

class Exception(_BaseException):
    pass

class FormatException(Exception):
    pass

class UnknownFormat(FormatException):
    pass

class BadSignature(Exception):
    pass

class BadPassword(Exception):
    pass

class InternalError(Exception):
    pass

class RepoError(InternalError):
    pass

class CryptoError(Exception):
    pass

class PubkeyFormatException(FormatException):
    pass

class UnknownMethod(CryptoError):
    pass

class DownloadError(Exception):
    pass

class CheckNotSupported(Exception):
    pass

class RemoveNotSupported(Exception):
    pass

class InstallFailed(Exception):
    pass