init()

in Sources/UberAuth/Errors/UberAuthError.swift [127:141]


    init(error: Error) {
        switch error {
        case let authError as ASWebAuthenticationSessionError:
            switch authError.code {
            case .canceledLogin:
                self = .cancelled
            default:
                self = .other(error)
            }
        case let oauthError as OAuthError:
            self = .oAuth(oauthError)
        default:
            self = .other(error)
        }
    }