capture errors
routing template for the app