How to stop a list of Exception matter to get printed and handle them with our readable messages using try catch

I tried using try catch to write my own messages inplace of bunch of exceptions butI am not able to stop the bunch of error or exception messages.Please help to suppress those bunch of exception details and print my own message based on the exceptiontype
Ex:StepFailedException with huge content

1 Like