External module nd.error.constant
Variables
Const CHAPTER_CLOSED_WARN
CHAPTER_
CLOSED_WARN: Throwable = new Warning("This chapter is closed", 3 + 2)
Const CHAPTER_NOTFOUND_WARN
CHAPTER_
NOTFOUND_WARN: Throwable = new Warning("This chapter is not exist", 3 + 3)
Const CHAPTER_SOLD_WARN
CHAPTER_
SOLD_WARN: Throwable = new Warning("This chapter is selling", 3 + 1)
Const CONFIG_CREATE_ERR
CONFIG_
CREATE_ERR: Throwable = new EError("Cannot create config file", 0)
Const CONFIG_FAIL_ERR
CONFIG_
FAIL_ERR: Throwable = new FError("Cannot pass config file", 0)
Const CONFIG_NOTFOUND_ERR
CONFIG_
NOTFOUND_ERR: Throwable = new NFError("Config file not found", 0)
Const CONFIG_WARN
CONFIG_
WARN: Throwable = new Warning("Config have warning message", 0)
Const DOWNLOAD_ERR
DOWNLOAD_
ERR: Throwable = new EError("Cannot download file", 4)
Const FILE_ERR
FILE_
ERR: Throwable = new EError("Cannot save file", 5)
Const NOVEL_ERR
NOVEL_
ERR: Throwable = new FError("Cannot create a novel", 3)
Const NOVEL_NOTFOUND_ERR
NOVEL_
NOTFOUND_ERR: Throwable = new NFError("Required novel not found", 3)
Const NOVEL_WARN
NOVEL_
WARN: Throwable = new Warning("Novel warning", 3)
Const OPTION_FAIL_ERR
OPTION_
FAIL_ERR: Throwable = new FError("Fail to update by option", 2)
Const OPTION_NOTFOUND_ERR
OPTION_
NOTFOUND_ERR: Throwable = new NFError("Required parameter not exist", 2)
Const OPTION_WARN
OPTION_
WARN: Throwable = new Warning("Option have warning message", 2)
Const OPTION_WRONG_ERR
OPTION_
WRONG_ERR: Throwable = new EError("Wrong option", 2)
Const PARAM_FAIL_ERR
PARAM_
FAIL_ERR: Throwable = new FError("Fail to update by parameter", 1)
Const PARAM_NOTFOUND_ERR
PARAM_
NOTFOUND_ERR: Throwable = new NFError("Required parameter not exist", 1)
Const PARAM_WARN
PARAM_
WARN: Throwable = new Warning("Parameter have warning message", 1)
Const PARAM_WRONG_ERR
PARAM_
WRONG_ERR: Throwable = new EError("Wrong parameter", 1)
Const SECURITY_FAIL_ERR
SECURITY_
FAIL_ERR: Throwable = new FError("You key is not pass security condition", 10)
Const WIP_ERR
WIP_
ERR: Throwable = new Exception("This feature will coming soon", 255)