detailed error reporting