1 // Copyright 2015 The Weave Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef LIBWEAVE_SRC_PRIVET_CONSTANTS_H_ 6 #define LIBWEAVE_SRC_PRIVET_CONSTANTS_H_ 7 8 namespace weave { 9 namespace privet { 10 11 namespace errors { 12 13 extern const char kInvalidClientCommitment[]; 14 extern const char kInvalidFormat[]; 15 extern const char kMissingAuthorization[]; 16 extern const char kInvalidAuthorization[]; 17 extern const char kInvalidAuthorizationScope[]; 18 extern const char kAuthorizationExpired[]; 19 extern const char kCommitmentMismatch[]; 20 extern const char kUnknownSession[]; 21 extern const char kInvalidAuthCode[]; 22 extern const char kInvalidAuthMode[]; 23 extern const char kInvalidRequestedScope[]; 24 extern const char kAccessDenied[]; 25 extern const char kInvalidParams[]; 26 extern const char kSetupUnavailable[]; 27 extern const char kDeviceBusy[]; 28 extern const char kInvalidState[]; 29 extern const char kInvalidSsid[]; 30 extern const char kInvalidPassphrase[]; 31 extern const char kNotFound[]; 32 extern const char kNotImplemented[]; 33 extern const char kAlreadyClaimed[]; 34 } // namespace errors 35 } // namespace privet 36 } // namespace weave 37 38 #endif // LIBWEAVE_SRC_PRIVET_CONSTANTS_H_ 39