hgext/fastannotate/error.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 11 Jun 2024 03:03:47 +0200
branchstable
changeset 51503 fcc149f3fdcb
parent 48966 6000f5b25c9b
permissions -rw-r--r--
hooks: add a prewlock and a prelock hooks This is useful for testing.

# Copyright 2016-present Facebook. All Rights Reserved.
#
# error: errors used in fastannotate
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.


class CorruptedFileError(Exception):
    pass


class CannotReuseError(Exception):
    """cannot reuse or update the cache incrementally"""