The exception that is thrown when there is a connection error.
상속: NATSException
예제 #1
0
 internal static bool IsAuthenticationExpiredError(this NATSConnectionException ex)
 => ex?.Message.Equals("'authentication expired'", StringComparison.OrdinalIgnoreCase) == true;
예제 #2
0
 internal static bool IsAuthorizationViolationError(this NATSConnectionException ex)
 => ex?.Message.Equals("'authorization violation'", StringComparison.OrdinalIgnoreCase) == true;