can set reporter and custom error handler