80 return Classify(error) == SqlErrorTransience::Transient;
Dialect-specific classification of SQL errors into transient and permanent.
bool IsTransient(SqlErrorInfo const &error) const noexcept
virtual ~SqlRetryClassifier()=default
Polymorphic destructor.
virtual SqlErrorTransience Classify(SqlErrorInfo const &error) const noexcept=0
LIGHTWEIGHT_API SqlRetryClassifier const & SqliteRetryOps() noexcept
Returns the SQLite-specific singleton classifier.
LIGHTWEIGHT_API SqlRetryClassifier const & PostgreSqlRetryOps() noexcept
Returns the PostgreSQL-specific singleton classifier. See SqliteRetryOps().
LIGHTWEIGHT_API SqlRetryClassifier const & GenericRetryOps() noexcept
Returns the dialect-agnostic classifier.
LIGHTWEIGHT_API SqlRetryClassifier const & SqlServerRetryOps() noexcept
Returns the SQL Server-specific singleton classifier. See SqliteRetryOps().
Represents an ODBC SQL error.