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