Skip to content

Commit

Permalink
Add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
olivaresf committed Mar 20, 2024
1 parent 0bd17ba commit 7db0750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Turbo Navigator/Helpers/ErrorPresenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public extension ErrorPresenter {
/// Tapping `Retry` will call `retryHandler?()` then dismiss the error.
///
/// - Parameters:
/// - error: <#error description#>
/// - retryHandler: <#retryHandler description#>
/// - error: presents the data in this error
/// - retryHandler: a user-triggered action to perform in case the error is recoverable
func presentError(_ error: Error, retryHandler: Handler?) {
let errorView = ErrorView(error: error,
shouldShowRetryButton: (retryHandler != nil)) { [unowned self] in
Expand Down

0 comments on commit 7db0750

Please sign in to comment.