Alex Vakulenko | 07216fe | 2014-09-19 15:31:09 -0700 | [diff] [blame] | 1 | // Copyright 2014 The Chromium OS 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 | #ifndef BUFFET_STATES_ERROR_CODES_H_ |
| 6 | #define BUFFET_STATES_ERROR_CODES_H_ |
| 7 | |
| 8 | namespace buffet { |
| 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 |
| 23 | } // namespace buffet |
| 24 | |
| 25 | #endif // BUFFET_STATES_ERROR_CODES_H_ |