Remove unneeded LocalAccountDelegateError.

This commit is contained in:
Brent Simmons committed 2025-11-07 11:11:25 -08:00
1 parent 7f1c275321
commit dc2eba9d22
2 files changed
+1 -5

No files matched your search

@@ -428,7 +428,7 @@ final class CloudKitAccountDelegate: AccountDelegate {
private func restoreFolder(for account: Account, folder: Folder, completion: @escaping (Result<Void, Error>) -> Void) {
guard let name = folder.name else {
completion(.failure(LocalAccountDelegateError.invalidParameter))
completion(.failure(AccountError.invalidParameter))
return
}
@@ -14,10 +14,6 @@ import ArticlesDatabase
import RSWeb
import Secrets
public enum LocalAccountDelegateError: String, Error {
case invalidParameter = "An invalid parameter was used."
}
final class LocalAccountDelegate: AccountDelegate {
weak var account: Account?