// Error code definition using the same pattern as opcodes.def
// Define ERR(name, val, msg) before including this file if you want to extract text or
// mapping.
;
// Macro to reduce code size for error returns
// Optional: helper to get a string message for each error
inline const char *