hgext/fastannotate/error.py
author Joerg Sonnenberger <joerg@bec.de>
Sat, 20 Jul 2024 00:41:37 +0200
changeset 51911 767f47fc9d42
parent 51863 f4733654f144
permissions -rw-r--r--
revlogutils: fix _chunk() reference _chunk is only found in the inner revlog object and not directly exposed outside.

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


class CorruptedFileError(Exception):
    pass


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