finer error reporting