19 files declare their use of DatabaseExceptionWrapper

Connection.php in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
ConnectionTest.php in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
D6NodeDeriver.php in core/modules/node/src/Plugin/migrate/D6NodeDeriver.php
D7NodeDeriver.php in core/modules/node/src/Plugin/migrate/D7NodeDeriver.php
D7TaxonomyTermDeriver.php in core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php
DatabaseExceptionWrapperTest.php in core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php
EntityDefinitionUpdateTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Error.php in core/lib/Drupal/Core/Utility/Error.php
ExtensionList.php in core/lib/Drupal/Core/Extension/ExtensionList.php
install.core.inc in core/includes/install.core.inc
API functions for installing Drupal.
InstallerRedirectTraitTest.php in core/tests/Drupal/KernelTests/Core/Installer/InstallerRedirectTraitTest.php
migrate_drupal.module in core/modules/migrate_drupal/migrate_drupal.module
Provides migration from other Drupal sites.
MigrationConfigurationTrait.php in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
SelectTest.php in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Sql.php in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sql.php in core/modules/views/src/Plugin/views/query/Sql.php
SqlContentEntityStorage.php in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
UserCreationTrait.php in core/modules/user/tests/src/Traits/UserCreationTrait.php
ViewsSqlExceptionTest.php in core/modules/views/tests/src/Kernel/Plugin/ViewsSqlExceptionTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.