Class ClickHouseTransientExceptionDetector
- Namespace
 - LinqToDB.DataProvider.ClickHouse
 
- Assembly
 - linq2db.dll
 
Detects the exceptions caused by transient failures. Currently handles only:
- Octonica client ClickHouseException with codes ClickHouseErrorCodes.InvalidConnectionState, ClickHouseErrorCodes.ConnectionClosed, ClickHouseErrorCodes.NetworkError
 
public static class ClickHouseTransientExceptionDetector
  - Inheritance
 - 
      
      ClickHouseTransientExceptionDetector
 
- Inherited Members
 
Methods
IsHandled(Exception, out IEnumerable<int>?)
public static bool IsHandled(Exception ex, out IEnumerable<int>? errorNumbers)
  Parameters
exExceptionerrorNumbersIEnumerable<int>
Returns
ShouldRetryOn(Exception)
public static bool ShouldRetryOn(Exception ex)
  Parameters
exException