Vitaly Buka | 4615e0d | 2015-10-14 15:35:12 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Weave Authors. All rights reserved. |
Alex Vakulenko | 07216fe | 2014-09-19 15:31:09 -0700 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Vitaly Buka | 912b698 | 2015-07-06 11:13:03 -0700 | [diff] [blame] | 5 | #ifndef LIBWEAVE_SRC_STATES_ERROR_CODES_H_ |
| 6 | #define LIBWEAVE_SRC_STATES_ERROR_CODES_H_ |
Alex Vakulenko | 07216fe | 2014-09-19 15:31:09 -0700 | [diff] [blame] | 7 | |
Vitaly Buka | b6f015a | 2015-07-09 14:59:23 -0700 | [diff] [blame] | 8 | namespace weave { |
Alex Vakulenko | 07216fe | 2014-09-19 15:31:09 -0700 | [diff] [blame] | 9 | namespace errors { |
| 10 | namespace state { |
| 11 | |
| 12 | // Error domain for state definitions. |
| 13 | extern const char kDomain[]; |
| 14 | |
| 15 | // State-specific error codes. |
| 16 | extern const char kPackageNameMissing[]; |
| 17 | extern const char kPropertyNameMissing[]; |
| 18 | extern const char kPropertyNotDefined[]; |
| 19 | extern const char kPropertyRedefinition[]; |
| 20 | |
| 21 | } // namespace state |
| 22 | } // namespace errors |
Vitaly Buka | b6f015a | 2015-07-09 14:59:23 -0700 | [diff] [blame] | 23 | } // namespace weave |
Alex Vakulenko | 07216fe | 2014-09-19 15:31:09 -0700 | [diff] [blame] | 24 | |
Vitaly Buka | 912b698 | 2015-07-06 11:13:03 -0700 | [diff] [blame] | 25 | #endif // LIBWEAVE_SRC_STATES_ERROR_CODES_H_ |