|
Aktualizr
C++ SOTA Client
|
Public Types | |
| enum | Numeric { kOk = 0, Numeric::kAlreadyProcessed = 1, Numeric::kVerificationFailed = 3, Numeric::kInstallFailed = 4, Numeric::kDownloadFailed = 5, Numeric::kInternalError = 18, Numeric::kGeneralError = 19, kNeedCompletion = 21, kCustomError = 22, kUnknown = -1 } |
Public Member Functions | |
| ResultCode (ResultCode::Numeric in_num_code) | |
| ResultCode (ResultCode::Numeric in_num_code, std::string text_code_in) | |
| bool | operator== (const ResultCode &rhs) const |
| bool | operator!= (const ResultCode &rhs) const |
| std::string | toString () const |
| std::string | toRepr () const |
Static Public Member Functions | |
| static ResultCode | fromRepr (const std::string &repr) |
Public Attributes | |
| Numeric | num_code |
| std::string | text_code |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const ResultCode &result_code) |
|
strong |
| Enumerator | |
|---|---|
| kAlreadyProcessed | Operation has already been processed. |
| kVerificationFailed | Metadata verification failed. |
| kInstallFailed | Package installation failed. |
| kDownloadFailed | Package download failed. |
| kInternalError | SWM Internal integrity error. |
| kGeneralError | Other error. |
1.8.17