dbus-constants: add a few shill error strings
This adds names for finer-grained failures
including distinguishing between success and
unknown failure.
BUG=b:27767401
TEST=none
Change-Id: Ie449fafc469e36f6ed99ca0868ad1d56d035cc28
Reviewed-on: https://chromium-review.googlesource.com/336898
Commit-Ready: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Samuel Tan <samueltan@chromium.org>
diff --git a/dbus/shill/dbus-constants.h b/dbus/shill/dbus-constants.h
index f672e16..3e211f7 100644
--- a/dbus/shill/dbus-constants.h
+++ b/dbus/shill/dbus-constants.h
@@ -437,14 +437,17 @@
const char kErrorDhcpFailed[] = "dhcp-failed";
const char kErrorHTTPGetFailed[] = "http-get-failed";
const char kErrorInternal[] = "internal-error";
+const char kErrorInvalidFailure[] = "invalid-failure";
const char kErrorIpsecCertAuthFailed[] = "ipsec-cert-auth-failed";
const char kErrorIpsecPskAuthFailed[] = "ipsec-psk-auth-failed";
const char kErrorNeedEvdo[] = "need-evdo";
const char kErrorNeedHomeNetwork[] = "need-home-network";
+const char kErrorNoFailure[] = "no-failure";
const char kErrorOtaspFailed[] = "otasp-failed";
const char kErrorOutOfRange[] = "out-of-range";
const char kErrorPinMissing[] = "pin-missing";
const char kErrorPppAuthFailed[] = "ppp-auth-failed";
+const char kErrorUnknownFailure[] = "unknown-failure";
// Flimflam error result codes.
const char kErrorResultSuccess[] = "org.chromium.flimflam.Error.Success";