aboutsummaryrefslogtreecommitdiff
path: root/src/privet/constants.cc
blob: 427816560001d8589c475c6f46f29a4a9c969025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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 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";
const char kAlreadyClaimed[] = "alreadyClaimed";

}  // namespace errors
}  // namespace privet
}  // namespace weave