fix: pool exhaustion and lock timeout surface as 500 instead of structured 503 (#295)

This commit is contained in:
d3vyce
2026-06-03 22:03:15 +02:00
committed by GitHub
parent 3ea8a612e5
commit cd928688af
8 changed files with 204 additions and 11 deletions
@@ -8,8 +8,10 @@ from .exceptions import (
InvalidFacetFilterError,
InvalidOrderFieldError,
InvalidSearchColumnError,
LockTimeoutError,
NoSearchableFieldsError,
NotFoundError,
PoolExhaustedError,
UnauthorizedError,
UnsupportedFacetTypeError,
generate_error_responses,
@@ -26,8 +28,10 @@ __all__ = [
"InvalidFacetFilterError",
"InvalidOrderFieldError",
"InvalidSearchColumnError",
"LockTimeoutError",
"NoSearchableFieldsError",
"NotFoundError",
"PoolExhaustedError",
"UnauthorizedError",
"UnsupportedFacetTypeError",
]