Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Projects/Platform/Keychain/Sources/KeychainError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public enum KeychainError: Error {
case itemNotFound
case duplicateItem
case invalidData
case unexpectedPasswordData
case unexpected(OSStatus)
}

Expand All @@ -23,6 +24,8 @@ extension KeychainError: LocalizedError {
return "이미 존재하는 아이템입니다."
case .invalidData:
return "유효하지 않은 데이터입니다."
case .unexpectedPasswordData:
return "암호화된 데이터를 얻기 위해 예상치 못한 오류가 발생했습니다."
case .unexpected(let status):
return "Keychain 에러: \(status)"
}
Expand Down