We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31734a5 commit 999a345Copy full SHA for 999a345
Examples/TicTacToe/Sources/Core/AuthenticationClient.swift
@@ -40,12 +40,12 @@ public struct AuthenticationResponse: Equatable {
40
}
41
42
43
-public enum AuthenticationError: Equatable, Error {
+public enum AuthenticationError: Equatable, LocalizedError {
44
case invalidUserPassword
45
case invalidTwoFactor
46
case invalidIntermediateToken
47
48
- var localizedDescription: String {
+ public var errorDescription: String? {
49
switch self {
50
case .invalidUserPassword:
51
return "Unknown user or invalid password."
0 commit comments