ErrorController
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
public let errorBannerView: FUIBannerMessageView
-
The action button.
Declaration
Swift
public let actionButton: FUIButton
-
The “Close” button on the navigation bar.
This is a
FUIBarButtonItem
initialized with the localized title “Close”.Declaration
Swift
public let closeButton: FUIBarButtonItem
-
This handler is invoked when the close button is tapped.
Declaration
Swift
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
public var hidesCloseButton: Bool
-
The title to be displayed in the error banner view.
The default title is localized string “Sync Failed”.
Declaration
Swift
public var errorBannerTitle: String!