mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
6397d9c9a3
* Add a Copy image file flow to the Web UI. * Introduce a generic file creation message and use that consistently. * Clarify code comment
23 lines
697 B
Python
23 lines
697 B
Python
"""
|
|
Module for return codes that are refrenced in the return payloads of the rascsi module.
|
|
"""
|
|
|
|
|
|
# pylint: disable=too-few-public-methods
|
|
class ReturnCodes:
|
|
"""Class for the return codes used within the rascsi module."""
|
|
DELETEFILE_SUCCESS = 0
|
|
DELETEFILE_FILE_NOT_FOUND = 1
|
|
RENAMEFILE_SUCCESS = 10
|
|
RENAMEFILE_UNABLE_TO_MOVE = 11
|
|
DOWNLOADFILETOISO_SUCCESS = 20
|
|
DOWNLOADTODIR_SUCCESS = 30
|
|
WRITEFILE_SUCCESS = 40
|
|
WRITEFILE_COULD_NOT_WRITE = 41
|
|
READCONFIG_SUCCESS = 50
|
|
READCONFIG_COULD_NOT_READ = 51
|
|
READCONFIG_INVALID_CONFIG_FILE_FORMAT = 52
|
|
READDRIVEPROPS_SUCCESS = 70
|
|
READDRIVEPROPS_COULD_NOT_READ = 71
|
|
ATTACHIMAGE_COULD_NOT_ATTACH = 80
|