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