understanding error reporting