Version 3
This commit is contained in:
parent
55ec6cedb4
commit
e0af36f9a6
10 changed files with 377 additions and 294 deletions
15
Sources/KeychainKit/Extensions/String+Error.swift
Normal file
15
Sources/KeychainKit/Extensions/String+Error.swift
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import Foundation
|
||||
import Localizable
|
||||
|
||||
extension String {
|
||||
@Localizable(bundle: .module)
|
||||
enum Error {
|
||||
private enum Strings {
|
||||
case authenticationFailed
|
||||
case duplicateItem
|
||||
case invalidData
|
||||
case osStatus(String)
|
||||
case underlying(String)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue