Static helper class for DB Exceptions
More...
Static helper class for DB Exceptions
◆ IsFirstChanceNpgsql23505Exception()
static bool Ict.Common.DB.Exceptions.TDBExceptionHelper.IsFirstChanceNpgsql23505Exception |
( |
Exception |
AException | ) |
|
|
inlinestatic |
Tests to see if the exception was raised by Npgsql and is an ERROR 23505 and the constraint is a primary key. This error is PROBABLY raised when serializable transactions collide.
◆ IsFirstChanceNpgsql40001Exception()
static bool Ict.Common.DB.Exceptions.TDBExceptionHelper.IsFirstChanceNpgsql40001Exception |
( |
Exception |
AException | ) |
|
|
inlinestatic |
Tests to see if the exception was raised by Npgsql and is an ERROR 40001. This is the error raised when serializable transactions collide.
◆ IsTransactionSerialisationException()
static bool Ict.Common.DB.Exceptions.TDBExceptionHelper.IsTransactionSerialisationException |
( |
Exception |
AException | ) |
|
|
inlinestatic |
Tests to see if the exception looks like it was caused by serializable transactions colliding.
The documentation for this class was generated from the following file: