exc¶
- exception sqlalchemy_upsert_kit.exc.UpsertTestError[source]¶
Custom exception raised during testing to simulate failures.
This exception is used exclusively for testing error handling and cleanup behavior in upsert operations. It allows tests to inject failures at specific points in the operation flow to verify proper rollback and cleanup.
- Parameters:
message – Descriptive error message indicating where the failure occurred