exc: Remove unused SettingsError
exc: Remove OptionalDependencyError

It is no longer needed as the extension loading mechanisms verifies the
environment and presence of dependencies before it tries to import modules that
would cause ImportErrors if optional dependencies are missing.