1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-13 09:59:10 +01:00
metatext-app-ios-iphone-ipad/Share Extension/ShareExtensionError+Extensions.swift

14 lines
345 B
Swift
Raw Normal View History

2020-12-06 04:10:27 +01:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
2020-12-10 03:44:06 +01:00
import ViewModels
2020-12-06 04:10:27 +01:00
extension ShareExtensionError: LocalizedError {
2020-12-10 03:44:06 +01:00
public var errorDescription: String? {
2020-12-06 04:10:27 +01:00
switch self {
case .noAccountFound:
return NSLocalizedString("share-extension-error.no-account-found", comment: "")
}
}
}