Logo Search packages:      
Sourcecode: hgsvn version File versions  Download package

errors.py

00001 
"""
Exception sub-hierarchy:

RuntimeError
 +-- ExternalCommandFailed
 +-- HgSVNError
      +-- UnsupportedSVNFeature
      |    +-- OverwrittenSVNBranch
      |    +-- UnsupportedSVNAction
      +-- SVNOutputError
           +-- EmptySVNLog

"""

00016 class ExternalCommandFailed(RuntimeError):
    """
    An external command failed.
    """

00021 class HgSVNError(RuntimeError):
    """
    A generic hgsvn error.
    """

00026 class UnsupportedSVNFeature(HgSVNError):
    """
    An unsuppported SVN (mis)feature.
    """

00031 class OverwrittenSVNBranch(UnsupportedSVNFeature):
    """
    The current SVN branch was overwritten with another one.
    """

00036 class UnsupportedSVNAction(UnsupportedSVNFeature):
    """
    An unknown/unsupported SVN action in an SVN log entry.
    """

00041 class SVNOutputError(HgSVNError):
    """
    A generic error with the output of an SVN command.
    """

00046 class EmptySVNLog(SVNOutputError):
    """
    An empty SVN log entry.
    """

Generated by  Doxygen 1.6.0   Back to index