added reportError()
set error reporter