Removed uncommunicative variable name. Since the word error was already used by a method, I also renamed the error method to report_error (which has the added benefit or changing the method name from a noun to a verb).

I also changed the problem method to report_problem so that it is kept in sync with the error method.