mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-09 11:29:31 +00:00
089dc302e5
* python client library clean branch for PR. #455 * removed superfluous file. #455 * removed one more superfluous file. #455 * README.md, .pylintrc and pylint based fixes. #455 * updated wrt. to the review comments. #455 * removed pylint documentation duplication. #455
26 lines
912 B
Python
26 lines
912 B
Python
"""
|
|
Module for return codes that are refrenced in the return payloads of the rascsi module.
|
|
"""
|
|
from typing import Final
|
|
|
|
|
|
# pylint: disable=too-few-public-methods
|
|
class ReturnCodes:
|
|
"""Class for the return codes used within the rascsi module."""
|
|
DELETEFILE_SUCCESS: Final = 0
|
|
DELETEFILE_FILE_NOT_FOUND: Final = 1
|
|
RENAMEFILE_SUCCESS: Final = 10
|
|
RENAMEFILE_UNABLE_TO_MOVE: Final = 11
|
|
DOWNLOADFILETOISO_SUCCESS: Final = 20
|
|
DOWNLOADTODIR_SUCCESS: Final = 30
|
|
WRITECONFIG_SUCCESS: Final = 40
|
|
WRITECONFIG_COULD_NOT_WRITE: Final = 41
|
|
READCONFIG_SUCCESS: Final = 50
|
|
READCONFIG_COULD_NOT_READ: Final = 51
|
|
READCONFIG_INVALID_CONFIG_FILE_FORMAT: Final = 51
|
|
WRITEDRIVEPROPS_SUCCESS: Final = 60
|
|
WRITEDRIVEPROPS_COULD_NOT_WRITE: Final = 61
|
|
READDRIVEPROPS_SUCCESS: Final = 70
|
|
READDRIVEPROPS_COULD_NOT_READ: Final = 71
|
|
ATTACHIMAGE_COULD_NOT_ATTACH: Final = 80
|