in swift-source/all/FxAClient/PersistedFirefoxAccount.swift [267:277]
func notifyAuthErrors<T>(_ cb: () throws -> T) rethrows -> T {
do {
return try cb()
} catch let error as FxaError {
if case let .Authentication(msg) = error {
FxALog.debug("Auth error caught: \(msg)")
notifyAuthError()
}
throw error
}
}