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