ifw-fcf 7.1.4
Loading...
Searching...
No Matches
piezoRpcErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_PIEZO_RPC_ERRORS_H
9#define FCF_DEVMGR_DEVICE_PIEZO_RPC_ERRORS_H
10
11#include <unordered_map>
12
13
14namespace ifw::fcf {
15 namespace devmgr {
16 namespace piezo {
17
18 enum {
26 };
27
28 const std::unordered_map<short, std::string> RPC_ERRORS = {
29 {RPC_ERR_NOT_OP, "Cannot disable Piezo. Not in OP state"},
30 {RPC_ERR_NOT_OP_READY, "Cannot enable Piezo. Not in NOT_OP_READY."},
31 {RPC_ERR_NOT_OP_NOTREADY, "Cannot init Piezo. Not in NOT_OP_NOTREADY or FAILURE."},
32 {RPC_ERR_LOCAL, "RPC calls are not allowed in Local mode"},
33 {RPC_ERROR_MOVING_USER, "Out of limits target when moving in UU"},
34 {RPC_ERROR_MOVING_BIT, "Out of limits target when moving in bits"}
35 };
36
37}
38}
39}
40
41#endif // FCF_DEVMGR_DEVICE_PIEZO_RPC_ERRORS_H
const std::unordered_map< short, std::string > RPC_ERRORS
Definition piezoRpcErrors.hpp:28
@ RPC_ERR_NOT_OP_NOTREADY
Definition piezoRpcErrors.hpp:22
@ RPC_ERR_NOT_OP
Definition piezoRpcErrors.hpp:20
@ RPC_ERR_NOT_OP_READY
Definition piezoRpcErrors.hpp:21
@ RPC_ERROR_MOVING_BIT
Definition piezoRpcErrors.hpp:25
@ RPC_ERR_LOCAL
Definition piezoRpcErrors.hpp:23
@ RPC_ERROR_MOVING_USER
Definition piezoRpcErrors.hpp:24
@ RPC_SUCCESS
Definition piezoRpcErrors.hpp:19
ActionsEnable class source file.
Definition actionMgr.cpp:28