blob: 676a19984a6f01c1c9074a5db3dc8781b71b4512 [file] [log] [blame]
Vitaly Buka4615e0d2015-10-14 15:35:12 -07001// Copyright 2015 The Weave Authors. All rights reserved.
Alex Vakulenko07216fe2014-09-19 15:31:09 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Vitaly Buka912b6982015-07-06 11:13:03 -07005#ifndef LIBWEAVE_SRC_STATES_ERROR_CODES_H_
6#define LIBWEAVE_SRC_STATES_ERROR_CODES_H_
Alex Vakulenko07216fe2014-09-19 15:31:09 -07007
Vitaly Bukab6f015a2015-07-09 14:59:23 -07008namespace weave {
Alex Vakulenko07216fe2014-09-19 15:31:09 -07009namespace errors {
10namespace state {
11
12// Error domain for state definitions.
13extern const char kDomain[];
14
15// State-specific error codes.
16extern const char kPackageNameMissing[];
17extern const char kPropertyNameMissing[];
18extern const char kPropertyNotDefined[];
19extern const char kPropertyRedefinition[];
20
21} // namespace state
22} // namespace errors
Vitaly Bukab6f015a2015-07-09 14:59:23 -070023} // namespace weave
Alex Vakulenko07216fe2014-09-19 15:31:09 -070024
Vitaly Buka912b6982015-07-06 11:13:03 -070025#endif // LIBWEAVE_SRC_STATES_ERROR_CODES_H_