Rekha Aparna | 5e3ff85 | 2025-08-12 10:51:23 -0500 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | namespace vpd |
| 4 | { |
| 5 | namespace error_code |
| 6 | { |
| 7 | // File exceptions |
| 8 | static constexpr auto FILE_NOT_FOUND = 1001; |
| 9 | static constexpr auto FILE_ACCESS_ERROR = 1002; |
| 10 | static constexpr auto EMPTY_FILE = 1003; |
| 11 | |
| 12 | // JSON exceptions |
| 13 | static constexpr auto INVALID_JSON = 2001; |
| 14 | static constexpr auto MISSING_FLAG = 2002; |
| 15 | static constexpr auto MISSING_ACTION_TAG = 2003; |
| 16 | static constexpr auto FRU_PATH_NOT_FOUND = 2004; |
| 17 | |
| 18 | // Generic errors. |
| 19 | static constexpr auto INVALID_INPUT_PARAMATER = 3001; |
| 20 | } // namespace error_code |
| 21 | } // namespace vpd |