How to add custom Exceptions in prism yaml file

Hi I am new for prism. I am trying to perform some get operations in prism. But i need to add custom exceptions in my yaml file. how to do this. is it possible or not. if yes what are the ways. Kindly help me. Thanks in advance.

Masthan S