view hgext/fastannotate/error.py @ 46602:a687a7f27951

rust: Move config value parsing functions to a new module Differential Revision: https://phab.mercurial-scm.org/D10021
author Simon Sapin <simon.sapin@octobus.net>
date Wed, 17 Feb 2021 20:24:04 +0100
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line source

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