mysql-error-keys
JSON →A curated list of constants for MySQL error key strings (e.g., 'ER_DUP_ENTRY'). Current stable version 0.1.3, with infrequent releases. Provides both named exports and a default object with all keys for use in Node.js and browser environments. Differentiates from raw error code maps by offering TypeScript type definitions and a simple constant-based approach to avoid magic strings in error handling.
Resources
packagemysql-error-keys ↗