]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - svn2svn/errors.py
Continue-mode support w/ rev_map
[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 """
12
13 class ExternalCommandFailed(RuntimeError):
14 """
15 An external command failed.
16 """
17
18 class SVNError(RuntimeError):
19 """
20 A generic svn error.
21 """
22
23 class UnsupportedSVNFeature(SVNError):
24 """
25 An unsuppported SVN (mis)feature.
26 """
27
28 class UnsupportedSVNAction(UnsupportedSVNFeature):
29 """
30 An unknown/unsupported SVN action in an SVN log entry.
31 """
32
33 class SVNOutputError(SVNError):
34 """
35 A generic error with the output of an SVN command.
36 """
37
38 class EmptySVNLog(SVNOutputError):
39 """
40 An empty SVN log entry.
41 """