2021-12-21 00:29:43 -08:00

21 lines
432 B
Python
Executable File

"""
.. moduleauthor:: Eric Torres
.. module:: file_scripts:error
:synopsis: Exit codes and error handling.
"""
# ========== Imports ==========
# ========== Constants ==========
# ----- Exit Codes -----
E_INTERRUPT = 1
E_NOFILESELECTED = 2
E_NOEDITORFOUND = 3
E_NO_RESULTS = 4
E_USER_RESPONSE_NO = 5
E_FILE_EXISTS = 6
# ----- Messages -----
NO_FILE_SELECTED_MESSAGE = "No file was selected."
# ========== Functions ==========