Do not need error_occurred? since we already have error?