hunk.code_window: # Generic www root directory names
   GENERIC_DOC_ROOT_DIRECTORY_NAMES = ("htdocs", "wwwroot", "www")
   # Maximum length of a help part containing switch/option name(s)
   MAX_HELP_OPTION_LENGTH = 18
  
hunk.labels: keep keep keep keep add
hunk.after_edit: # Strings for detecting formatting errors
   FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "System.FormatException", "java.lang.NumberFormatException")
hunk.file_path: lib/core/settings.py
hunk.type: add
file: <?xml version="1.0" encoding="UTF-8"?>
  
  <root>
      <!-- MySQL -->
      <dbms value="MySQL">
          <error regexp="SQL syntax.*MySQL"/>
          <error regexp="Warning.*mysql_.*"/>
          <error regexp="valid MySQL result"/>
          <error regexp="MySqlClient\."/>
      </dbms>
  
      <!-- PostgreSQL -->
      <dbms value="PostgreSQL">
          <error regexp="PostgreSQL.*ERROR"/>
          <error regexp="Warning.*\Wpg_.*"/>
          <error regexp="valid PostgreSQL result"/>
          <error regexp="Npgsql\."/>
      </dbms>
  
      <!-- Microsoft SQL Server -->
      <dbms value="Microsoft SQL Server">
          <error regexp="Driver.* SQL[\-\_\ ]*Server"/>
          <error regexp="OLE DB.* SQL Server"/>
          <error regexp="(\W|\A)SQL Server.*Driver"/>
          <error regexp="Warning.*mssql_.*"/>
          <error regexp="(\W|\A)SQL Server.*[0-9a-fA-F]{8}"/>
          <error regexp="(?s)Exception.*\WSystem\.Data\.SqlClient\."/>
          <error regexp="(?s)Exception.*\WRoadhouse\.Cms\."/>
      </dbms>
  
      <!-- Microsoft Access -->
      <dbms value="Microsoft Access">
          <error regexp="Microsoft Access Driver"/>
          <error regexp="JET Database Engine"/>
          <error regexp="Access Database Engine"/>
      </dbms>
  
      <!-- Oracle -->
      <dbms value="Oracle">
          <error regexp="ORA-[0-9][0-9][0-9][0-9]"/>
          <error regexp="Oracle error"/>
          <error regexp="Oracle.*Driver"/>
          <error regexp="Warning.*\Woci_.*"/>
          <error regexp="Warning.*\Wora_.*"/>
      </dbms>
  
      <!-- IBM DB2 -->
      <dbms value="IBM DB2">
          <error regexp="CLI Driver.*DB2"/>
          <error regexp="DB2 SQL error"/>
          <error regexp="db2_\w+\("/>
      </dbms>
  
      <!-- Informix -->
      <dbms value="Informix">
          <error regexp="Exception.*Informix"/>
      </dbms>
  
      <!-- Interbase/Firebird -->
      <dbms value="Firebird">
          <error regexp="Dynamic SQL Error"/>
          <error regexp="Warning.*ibase_.*"/>
      </dbms>
  
      <!-- SQLite -->
      <dbms value="SQLite">
          <error regexp="SQLite/JDBCDriver"/>
          <error regexp="SQLite.Exception"/>
          <error regexp="System.Data.SQLite.SQLiteException"/>
          <error regexp="Warning.*sqlite_.*"/>
          <error regexp="Warning.*SQLite3::"/>
      </dbms>
  
      <!-- SAP MaxDB -->
      <dbms value="SAP MaxDB">
          <error regexp="SQL error.*POS([0-9]+).*"/>
          <error regexp="Warning.*maxdb.*"/>
      </dbms>
  
      <!-- Sybase -->
      <dbms value="Sybase">
          <error regexp="Warning.*sybase.*"/>
          <error regexp="Sybase message"/>
          <error regexp="Sybase.*Server message.*"/>
      </dbms>
  
      <!-- Ingres -->
      <dbms value="Ingres">
          <error regexp="Warning.*ingres_"/>
          <error regexp="Ingres SQLSTATE"/>
          <error regexp="Ingres\W.*Driver"/>
      </dbms>
  
      <!-- Frontbase -->
      <dbms value="Frontbase">
          <error regexp="Exception (condition )?\d+. Transaction rollback."/>
      </dbms>
  </root>
  