hgext/fastannotate/error.py
raw| 1 | # Copyright 2016-present Facebook. All Rights Reserved. |
| 2 | # |
| 3 | # error: errors used in fastannotate |
| 4 | # |
| 5 | # This software may be used and distributed according to the terms of the |
| 6 | # GNU General Public License version 2 or any later version. |
| 7 | from __future__ import annotations |
| 8 | |
| 9 | |
| 10 | class CorruptedFileError(Exception): |
| 11 | pass |
| 12 | |
| 13 | |
| 14 | class CannotReuseError(Exception): |
| 15 | """cannot reuse or update the cache incrementally""" |