Exception ,Error handling, showing custom error messages

How to deal with exeptions or errors in appian. I would like to show a custom error message to the user instead of technical terms. At the same time , the errors with specific technical terms must be logged into a file ,so that the relevant team can look into it. So how do i do these two things, Custom error message and Error logging .

Thanks,

  Discussion posts and replies are publicly visible