email response and general error front end route
error route