aboutsummaryrefslogtreecommitdiff
path: root/src/privet/constants.h
blob: 67f993d63b0d8e64d8054c9f0ffcd1be94ca551a (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
36
37
38
// 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.

#ifndef LIBWEAVE_SRC_PRIVET_CONSTANTS_H_
#define LIBWEAVE_SRC_PRIVET_CONSTANTS_H_

namespace weave {
namespace privet {

namespace errors {

extern const char kInvalidClientCommitment[];
extern const char kInvalidFormat[];
extern const char kMissingAuthorization[];
extern const char kInvalidAuthorization[];
extern const char kInvalidAuthorizationScope[];
extern const char kAuthorizationExpired[];
extern const char kCommitmentMismatch[];
extern const char kUnknownSession[];
extern const char kInvalidAuthCode[];
extern const char kInvalidAuthMode[];
extern const char kInvalidRequestedScope[];
extern const char kAccessDenied[];
extern const char kInvalidParams[];
extern const char kSetupUnavailable[];
extern const char kDeviceBusy[];
extern const char kInvalidState[];
extern const char kInvalidSsid[];
extern const char kInvalidPassphrase[];
extern const char kNotFound[];
extern const char kNotImplemented[];
extern const char kAlreadyClaimed[];
}  // namespace errors
}  // namespace privet
}  // namespace weave

#endif  // LIBWEAVE_SRC_PRIVET_CONSTANTS_H_