simplified error reporting