hgext/fastannotate/error.py
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 14 Dec 2018 13:20:00 -0800
changeset 40966 05abb5fb146a
parent 39238 1ddb296e0dee
child 43076 2372284d9457
permissions -rw-r--r--
help: use "default: on" instead of "default: True" "True" feels like a Python thing and not something that users should see. Differential Revision: https://phab.mercurial-scm.org/D5430

# 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"""