namespace ZB.MOM.WW.OtOpcUa.Driver.Modbus;
///
/// Raised when a Modbus transport has no live socket and cannot get one for this call: the one
/// in-gate connect attempt failed, the reconnect is inside its backoff window, or auto-reconnect is
/// disabled. It says the ENDPOINT is unreachable, so the driver fails the rest of the batch fast
/// instead of paying the same failure once per tag.
///
///
/// Derives from so every existing socket-level classifier
/// (ModbusSocketLifecycle.IsSocketLevelFailure, the driver's comms-fault mapping) treats it as
/// a communication failure without extra plumbing.
///
public sealed class ModbusTransportUnavailableException : IOException
{
/// Initializes a new instance of the class.
/// A human-readable description.
/// The originating exception, if any.
public ModbusTransportUnavailableException(string message, Exception? inner = null)
: base(message, inner)
{
}
}