Hello everyone, I need your help.

I receive this error in mysql:
[MySQL][ODBC 5.1 Driver][mysqld-5.0.45-community-nt-log]Duplicate entry '10022438' for key 2

Because in my table the field `card` as index type `unique`.

To many this error is incomprehensible: can be a way in mysql to explain this error at the time of registration (for example `this value already exists`)... or only it's possible with a language server-side?