| // Copyright 2015 The Weave Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "src/privet/constants.h" | |
| namespace weave { | |
| namespace privet { | |
| namespace errors { | |
| const char kDomain[] = "privetd"; | |
| const char kInvalidClientCommitment[] = "invalidClientCommitment"; | |
| const char kInvalidFormat[] = "invalidFormat"; | |
| const char kMissingAuthorization[] = "missingAuthorization"; | |
| const char kInvalidAuthorization[] = "invalidAuthorization"; | |
| const char kInvalidAuthorizationScope[] = "invalidAuthorizationScope"; | |
| const char kAuthorizationExpired[] = "authorizationExpired"; | |
| const char kCommitmentMismatch[] = "commitmentMismatch"; | |
| const char kUnknownSession[] = "unknownSession"; | |
| const char kInvalidAuthCode[] = "invalidAuthCode"; | |
| const char kInvalidAuthMode[] = "invalidAuthMode"; | |
| const char kInvalidRequestedScope[] = "invalidRequestedScope"; | |
| const char kAccessDenied[] = "accessDenied"; | |
| const char kInvalidParams[] = "invalidParams"; | |
| const char kSetupUnavailable[] = "setupUnavailable"; | |
| const char kDeviceBusy[] = "deviceBusy"; | |
| const char kInvalidState[] = "invalidState"; | |
| const char kInvalidSsid[] = "invalidSsid"; | |
| const char kInvalidPassphrase[] = "invalidPassphrase"; | |
| const char kNotFound[] = "notFound"; | |
| const char kNotImplemented[] = "notImplemented"; | |
| } // namespace errors | |
| } // namespace privet | |
| } // namespace weave |