1#ifndef ModbusRTUErrors_H_
2#define ModbusRTUErrors_H_
19 erUnExpectedPacketType = 1,
25 erOperationFailed = 7,
26 erMemoryParityError = 8,
27 erGatewayUnavailable = 10,
28 erGatewayTargetUnavailable = 11,
32 erInternalErrorCode = 100,
33 erInvalidFormat = 111,
35 erBadReplyNodeAddress = 113,
37 erPacketTooLong = 115,
42 std::string mbErr2Str( mbErrCode e );
54 ModbusRTU::mbErrCode err;
56 friend std::ostream& operator<<(std::ostream& os,
mbException& ex )
58 return os <<
"(" << ex.err <<
") " << mbErr2Str(ex.err);
Definition Exceptions.h:46
Definition ModbusRTUErrors.h:46
Definition Calibration.h:27