forked from Shared/esg
feat: add car inquiries with resilience, ownership privacy, and retry visibility
Introduce plate, chassis, and third-party car endpoints, a wall-clock inquiry deadline with transport-only retries, and ownership-safe no-match errors so another person's identity never leaks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,6 +48,11 @@ export const ERROR_CATALOG = {
|
||||
message: 'All providers failed',
|
||||
messageFa: 'تمامی سرویسدهندهها با خطا مواجه شدند',
|
||||
},
|
||||
INQUIRY_DEADLINE_EXCEEDED: {
|
||||
status: HttpStatus.GATEWAY_TIMEOUT,
|
||||
message: 'Inquiry exceeded the allowed time budget',
|
||||
messageFa: 'مهلت زمانی استعلام به پایان رسید',
|
||||
},
|
||||
UNKNOWN_ERROR: {
|
||||
status: HttpStatus.INTERNAL_SERVER_ERROR,
|
||||
message: 'Unknown provider error',
|
||||
|
||||
Reference in New Issue
Block a user