##// END OF EJS Templates
py3: catch FileExistsError instead of checking errno == EEXIST
py3: catch FileExistsError instead of checking errno == EEXIST

File last commit:

r49730:6000f5b2 default
r50200:53e9422a default
Show More
error.py
14 lines | 374 B | text/x-python | PythonLexer
# 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"""