added tables, views, and supporting code for detailed error reporting