Updates following self review.

This commit is contained in:
Doug
2022-03-17 19:08:25 +00:00
parent d72b815dc1
commit 8a3664b1f2
17 changed files with 86 additions and 61 deletions

View File

@@ -22,5 +22,7 @@ protocol OnboardingDisplayNameViewModelProtocol {
@available(iOS 14, *)
var context: OnboardingDisplayNameViewModelType.Context { get }
func update(with error: Error)
/// Update the view model to show that an error has occurred.
/// - Parameter error: The error to be displayed or `nil` to display a generic alert.
func processError(_ error: NSError?)
}