summaryrefslogtreecommitdiff
path: root/common/error_code_utils.cc
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2018-03-27 23:29:43 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-03-27 23:29:43 +0000
commit8eaeedb2c3804f1a29aa2da89eb9cf97888a23a1 (patch)
treedbdb476b2e42655c25d87e5c9c0210b2c68ea799 /common/error_code_utils.cc
parentc110fe13846e6fad11fb1981a6260a7310c2888f (diff)
parent832c9f574ccb8829d2a74431365c68d84e623f5f (diff)
Fix error code for no update. am: 89e24c11b4
am: 832c9f574c Change-Id: I6d806ea15c34fabb89e3cc55ba357fe430eeba01
Diffstat (limited to 'common/error_code_utils.cc')
-rw-r--r--common/error_code_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/error_code_utils.cc b/common/error_code_utils.cc
index 313a15f8..8b753292 100644
--- a/common/error_code_utils.cc
+++ b/common/error_code_utils.cc
@@ -148,6 +148,8 @@ string ErrorCodeToString(ErrorCode code) {
return "ErrorCode::kPayloadTimestampError";
case ErrorCode::kUpdatedButNotActive:
return "ErrorCode::kUpdatedButNotActive";
+ case ErrorCode::kNoUpdate:
+ return "ErrorCode::kNoUpdate";
// Don't add a default case to let the compiler warn about newly added
// error codes which should be added here.
}