hgext/fastannotate/error.py
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 04 Feb 2019 21:19:05 -0800
changeset 41601 ac8cf125d8d5
parent 39210 1ddb296e0dee
child 43076 2372284d9457
permissions -rw-r--r--
merge: migrate to scmutil.backuppath() Differential Revision: https://phab.mercurial-scm.org/D5857

# 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.
from __future__ import absolute_import

class CorruptedFileError(Exception):
    pass

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