error.py
14 lines
| 374 B
| text/x-python
|
PythonLexer
Augie Fackler
|
r39243 | # 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. | ||||
Augie Fackler
|
r43346 | |||
Augie Fackler
|
r39243 | class CorruptedFileError(Exception): | ||
pass | ||||
Augie Fackler
|
r43346 | |||
Augie Fackler
|
r39243 | class CannotReuseError(Exception): | ||
"""cannot reuse or update the cache incrementally""" | ||||