recording class error