Custom error message

Hello,

I just add the functionality to customize the error message.
I hope you agree.

regards,
Carlos