mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
13 lines
292 B
C#
13 lines
292 B
C#
using MQTTnet.Exceptions;
|
|
|
|
namespace MQTTnet.Internal
|
|
{
|
|
public static class ExceptionHelper
|
|
{
|
|
public static void ThrowGracefulSocketClose()
|
|
{
|
|
throw new MqttCommunicationException("Connection gracefully closed from the remote party.");
|
|
}
|
|
}
|
|
}
|