I've been developing big applications using try/catch to handle all the exceptions and errors; however, I've been trying to figure out: When is it correct to use a try/catch statement?
Is there a good practice/rule for try/catchs?
Currently I'm building a SEO library for my PHP Framework and I have a "small" function, and I asked myself "Should I really use try/catch on this small function?"
If someone can guide me in this matter I would be really thankful.