Expanded class hierarchy of InstallerException in Drupal 9
- class \Drupal\Core\Installer\Exception\InstallerException extends \Drupal\Core\Installer\Exception\RuntimeException uses StringTranslationTrait
- class \Drupal\Core\Installer\Exception\AlreadyInstalledException
- class \Drupal\Core\Installer\Exception\NoProfilesException