metatext/Share Extension/ShareExtensionError.swift
2020-12-05 19:10:27 -08:00

16 lines
381 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
enum ShareExtensionError: Error {
case noAccountFound
}
extension ShareExtensionError: LocalizedError {
var errorDescription: String? {
switch self {
case .noAccountFound:
return NSLocalizedString("share-extension-error.no-account-found", comment: "")
}
}
}