Custom Errors for Common Tokens

ERC-6093FinalAccepted and stable
Token errors become specific and actionable — 'Insufficient balance: have 50, need 100' instead of generic 'transfer failed'. Design implications: parse custom errors to show precise failure reasons, display relevant values (balances, allowances) in error messages, suggest fixes inline (e.g., 'Approve more tokens'). Design decisions: which error details to expose to users vs log internally, how to present technical info accessibly, fallback handling for non-standard errors, translating error codes to user-friendly language. Addresses the Blanket Warnings pain point (Medium severity, Unsolved) — identical warnings for routine and catastrophic actions train users to ignore all alerts. ERC-6093 enables contextual, specific error messages.
Stages: Reading & Understanding