Allow top-level error reporter to be customized.