Surpath interview question

How do you handle the user friendly error message from end-to-end?