#pragma once
#include <cstdint>

enum class ModbusException : std::uint8_t {
    IllegalFunction        = 0x01,
    IllegalDataAddress     = 0x02,
    IllegalDataValue       = 0x03,
    SlaveDeviceFailure     = 0x04,

    Acknowledge            = 0x05, // ★ 중요
    SlaveDeviceBusy        = 0x06, // ★ 중요

    MemoryParityError      = 0x08,
    GatewayPathUnavailable = 0x0A,
    GatewayTargetFailed    = 0x0B
};
