Address most PR comments.

Update Podfile.lock
This commit is contained in:
Doug
2021-12-15 14:40:45 +00:00
parent 56883906d8
commit 8acde2fda4
19 changed files with 274 additions and 168 deletions
@@ -14,7 +14,7 @@
// limitations under the License.
//
import Foundation
import AnalyticsEvents
/// Failure reasons as defined in https://docs.google.com/document/d/1es7cTCeJEXXfRCTRgZerAM2Wg5ZerHjvlpfTW-gsOfI.
@objc enum DecryptionFailureReason: Int {
@@ -22,6 +22,19 @@ import Foundation
case olmKeysNotSent
case olmIndexError
case unexpected
var errorName: AnalyticsEvent.Error.Name {
switch self {
case .unspecified:
return .OlmUnspecifiedError
case .olmKeysNotSent:
return .OlmKeysNotSentError
case .olmIndexError:
return .OlmIndexError
case .unexpected:
return .UnknownError
}
}
}
/// `DecryptionFailure` represents a decryption failure.