service/src/piracyshield_service/importer/errors.py
2024-02-07 14:53:48 +01:00

16 lines
313 B
Python

# TODO: this extension will be merged into forensic.
class ImporterErrorCode:
GENERIC = '9000'
EXTENSION_NOT_SUPPORTED = '9006'
class ImporterErrorMessage:
# error during the saving of the file
GENERIC = 'Generic error.'
EXTENSION_NOT_SUPPORTED = 'The file extension is not supported.'