hgext/fastannotate/error.py
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
Mon, 18 Feb 2019 18:44:21 -0500
changeset 41727 e1643a0455c8
parent 39210 1ddb296e0dee
child 43076 2372284d9457
permissions -rw-r--r--
test-sqlitestore: run sqlite3 with no init file These tests were failing for me because I have a ~/.sqliterc that alters the default output. Tests should ignore any init file.

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