$ refactor error reporters