mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
17 lines
440 B
C#
17 lines
440 B
C#
using MQTTnet.Exceptions;
|
|
using MQTTnet.Protocol;
|
|
|
|
namespace MQTTnet.Adapter
|
|
{
|
|
public class MqttConnectingFailedException : MqttCommunicationException
|
|
{
|
|
public MqttConnectingFailedException(MqttConnectReturnCode returnCode)
|
|
: base($"Connecting with MQTT server failed ({returnCode}).")
|
|
{
|
|
ReturnCode = returnCode;
|
|
}
|
|
|
|
public MqttConnectReturnCode ReturnCode { get; }
|
|
}
|
|
}
|