]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - svn2svn/errors.py
Merge branch 'topic/LC_MESSAGES_C' of git://github.com/quinot/svn2svn into develop
[svn2svn.git] / svn2svn / errors.py
1 """
2 Exception sub-hierarchy:
3
4 RuntimeError
5 +-- ExternalCommandFailed
6 +-- SVNError
7 +-- UnsupportedSVNFeature
8 | +-- UnsupportedSVNAction
9 +-- SVNOutputError
10 +-- EmptySVNLog
11 +-- InternalError
12 +-- VerificationError
13 """
14
15 class ExternalCommandFailed(RuntimeError):
16 """
17 An external command failed.
18 """
19
20 class SVNError(RuntimeError):
21 """
22 A generic svn error.
23 """
24
25 class UnsupportedSVNFeature(SVNError):
26 """
27 An unsuppported SVN (mis)feature.
28 """
29
30 class UnsupportedSVNAction(UnsupportedSVNFeature):
31 """
32 An unknown/unsupported SVN action in an SVN log entry.
33 """
34
35 class SVNOutputError(SVNError):
36 """
37 A generic error with the output of an SVN command.
38 """
39
40 class EmptySVNLog(SVNOutputError):
41 """
42 An empty SVN log entry.
43 """
44
45 class InternalError(RuntimeError):
46 """
47 An internal error in the svn2svn logic.
48 """
49
50 class VerificationError(InternalError):
51 """
52 An error found during verify-mode.
53 """