title: Avoiding many try...catch blocks
body: <p>I have various functions in a class. In each function I use try...catch. Is there any way to simplify this? I want to make one error class and it must be accessible from any file in my project. I don't want to use try..catch in each function, rather it should be automatically directed to the Error class.</p>