Home | History | Annotate | Download | only in privet
      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 #include "src/privet/constants.h"
      6 
      7 namespace weave {
      8 namespace privet {
      9 namespace errors {
     10 
     11 const char kInvalidClientCommitment[] = "invalidClientCommitment";
     12 const char kInvalidFormat[] = "invalidFormat";
     13 const char kMissingAuthorization[] = "missingAuthorization";
     14 const char kInvalidAuthorization[] = "invalidAuthorization";
     15 const char kInvalidAuthorizationScope[] = "invalidAuthorizationScope";
     16 const char kAuthorizationExpired[] = "authorizationExpired";
     17 const char kCommitmentMismatch[] = "commitmentMismatch";
     18 const char kUnknownSession[] = "unknownSession";
     19 const char kInvalidAuthCode[] = "invalidAuthCode";
     20 const char kInvalidAuthMode[] = "invalidAuthMode";
     21 const char kInvalidRequestedScope[] = "invalidRequestedScope";
     22 const char kAccessDenied[] = "accessDenied";
     23 const char kInvalidParams[] = "invalidParams";
     24 const char kSetupUnavailable[] = "setupUnavailable";
     25 const char kDeviceBusy[] = "deviceBusy";
     26 const char kInvalidState[] = "invalidState";
     27 const char kInvalidSsid[] = "invalidSsid";
     28 const char kInvalidPassphrase[] = "invalidPassphrase";
     29 const char kNotFound[] = "notFound";
     30 const char kNotImplemented[] = "notImplemented";
     31 const char kAlreadyClaimed[] = "alreadyClaimed";
     32 
     33 }  // namespace errors
     34 }  // namespace privet
     35 }  // namespace weave
     36