hgext/fastannotate/error.py
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 18 Jul 2024 19:55:51 -0400
changeset 51715 7601978f9e9f
parent 48875 6000f5b25c9b
child 51863 f4733654f144
permissions -rw-r--r--
typing: add type hints to `cmdutil.findrepo()` Since 10db46e128d4, pytype almost figured this out, going from `Any` -> `_T0`, but the intent is obvious.

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