JD2022-TU1/main/tools/modules/JD.Nas.Reporting.Console.Module/Constants/ReportingConsoleExitCode.cs

40 lines
1.2 KiB
C#

namespace JD.Nas.Reporting.Console.Module.Constants
{
public enum ReportingConsoleExitCode
{
// -1 to -100 used by plume framework
Ok = 0,
ConfigurationFilePathNeeded = -101,
ConfigurationFilePathNotExist = -102,
ConfigurationFilePathAccessDenied = -103,
ConfigurationFileNotJson = -104,
ConfigurationFileEmpty = -105,
OutputPathNeeded = -110,
OutputPathNotExist = -111,
OutputPathNoAccess = -112,
ReportIdNeeded = -120,
ReportIdAlreadyUsed = -121,
NasServerConfigurationEmpty = -130,
NasServerConfigurationIdNeeded = -131,
PostZipFileError = -145,
ExecuteOptionError = -146,
ExecuteLoggerError = -147,
ZipFileReportNotExist = -148,
UnexpectedErrorPostZipFile = -991,
UnexpectedErrorPostZipFileTask = -992,
UnexpectedErrorCreateReportDirectory = -993,
UnexpectedErrorCompleteReportDirectory = -994,
UnexpectedErrorZipReport = -995,
UnexpectedErrorArchiveReport = -996,
UnexpectedErrorSaveFileAsJson = -997,
UnexpectedErrorDeserializeJsonFile = -998,
UnexpectedErrorDownloadJsonFile = -999,
UnexpectedError = -1000
}
}