docs: def _print_sql_with_error(self, sql, error_line):
          """
          Writes a SQL statement with an syntax error to the output. The line where the error occurs is highlighted.
  
          :param str sql: The SQL statement.
          :param int error_line: The line where the error occurs.
          """
          if os.linesep in sql:
              lines = sql.split(os.linesep)
              digits = math.ceil(math.log(len(lines) + 1, 10))
              i = 1
              for line in lines:
                  if i == error_line:
                      self._io.text('<error>{0:{width}} {1}</error>'.format(i, line, width=digits, ))
                  else:
                      self._io.text('{0:{width}} {1}'.format(i, line, width=digits, ))
                  i += 1
          else:
              self._io.text(sql)