Source code for swh.loader.svn.exception
# Copyright (C) 2016-2018  The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
[docs]
class SvnLoaderEventful(ValueError):
    """Loading happens with some events. This transit the latest revision
    seen.
    """
    def __init__(self, e, swh_revision):
        super().__init__(e)
        self.swh_revision = swh_revision 
[docs]
class SvnLoaderUneventful(ValueError):
    """'Loading did nothing."""
    pass 
[docs]
class SvnLoaderHistoryAltered(ValueError):
    """History altered detected"""
    pass