Add rank error to output.