ErrorController
@MainActor
public class ErrorController : BaseController
This is the base class for FUIMultiUserTransactionErrorController and FUIMultiUserConnectionErrorController.
Developeres should not use this class directly.
-
The error banner view.
Declaration
Swift
@MainActor public let errorBannerView: FUIBannerMessageView -
The action button.
Declaration
Swift
@MainActor public let actionButton: FUIButton -
The “Close” button on the navigation bar.
This is a
FUIBarButtonIteminitialized with the localized title “Close”.Declaration
Swift
@MainActor public let closeButton: FUIBarButtonItem -
This handler is invoked when the close button is tapped.
Declaration
Swift
@MainActor public var onCloseHandler: ((UIViewController) -> Void)? -
This property indicates if the close button is to be hidden or not.
The default is
false, which means not to hide the close button.Declaration
Swift
@MainActor public var hidesCloseButton: Bool -
The title to be displayed in the error banner view.
The default title is localized string “Sync Failed”.
Declaration
Swift
@MainActor public var errorBannerTitle: String!