Gainwell Technologies interview question

How could add a costomer specific error message in SQL...(from technical guy)