When should you consider using a centralized error handler instead of normal, procedure-based error
If your application performs the same task in a number of different procedures, a centralized function that includes specific error-handling code can be more efficient and easier to maintain.