#include <ModbusErrorHelper.h>
◆ modbusErrorToName()
static constexpr std::string dynamic_modbus_master::ModbusErrorHelper::modbusErrorToName |
( |
const ModbusError |
error | ) |
|
|
inlinestaticconstexpr |
Converts a ModbusError enum value to its corresponding name.
- Parameters
-
error | The ModbusError enum value. |
- Returns
- The name of the ModbusError.
This function takes a ModbusError enum value and returns its corresponding name as a string. The ModbusError enum represents different error types that can occur in Modbus communication.
The documentation for this class was generated from the following file: