hgext/fastannotate/error.py
author Yuya Nishihara <yuya@tcha.org>
Sun, 08 Sep 2019 13:23:55 +0900
changeset 42891 5ccc08d02280
parent 39210 1ddb296e0dee
child 43076 2372284d9457
permissions -rw-r--r--
rust-cpython: leverage py_shared_iterator::from_inner() where appropriate

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