diff options
author | Tao Bao <tbao@google.com> | 2017-10-06 16:37:21 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-06 16:37:21 +0200 |
commit | d999ced1d119d78645e1b458dfc3574729d5ac20 (patch) | |
tree | bea09e79cd5bd6d853d3e8b16fbc17a0f04508fb /error_code.h | |
parent | Merge "vr_ui: drawing changes" (diff) | |
parent | Don't include "error_code.h" in edify/expr.h. (diff) | |
download | android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.gz android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.bz2 android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.lz android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.xz android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.zst android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.zip |
Diffstat (limited to '')
-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, |