diff options
author | Tao Bao <tbao@google.com> | 2017-10-06 16:47:04 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-06 16:47:04 +0200 |
commit | e196918f5451b48d1c62dc9ef1bb700aa5fe365d (patch) | |
tree | 8ee15fecaf5d5f91521718c69ea7d9c0de79681c /error_code.h | |
parent | Merge "vr_ui: drawing changes" (diff) | |
parent | Merge "Don't include "error_code.h" in edify/expr.h." (diff) | |
download | android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar.gz android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar.bz2 android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar.lz android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar.xz android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.tar.zst android_bootable_recovery-e196918f5451b48d1c62dc9ef1bb700aa5fe365d.zip |
Diffstat (limited to 'error_code.h')
-rw-r--r-- | error_code.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/error_code.h b/error_code.h index 4e3032bc9..26b9bb40d 100644 --- a/error_code.h +++ b/error_code.h @@ -17,7 +17,7 @@ #ifndef _ERROR_CODE_H_ #define _ERROR_CODE_H_ -enum ErrorCode { +enum ErrorCode : int { kNoError = -1, kLowBattery = 20, kZipVerificationFailure, @@ -30,7 +30,7 @@ enum ErrorCode { kUpdateBinaryCommandFailure, }; -enum CauseCode { +enum CauseCode : int { kNoCause = -1, kArgsParsingFailure = 100, kStashCreationFailure, @@ -51,7 +51,7 @@ enum CauseCode { kVendorFailure = 200 }; -enum UncryptErrorCode { +enum UncryptErrorCode : int { kUncryptNoError = -1, kUncryptErrorPlaceholder = 50, kUncryptTimeoutError = 100, |