It is a good idea to build a separate error-handling ASP page and call it from the code whenever it is required. Besides being a modular approach, it also improves the performance. ASP engine is thus freed from the task of loading and parsing extra error handling code on each page.