 }
 
 public extension DefaultCoordinator {
-    public func showAlert(for error: Error, preferredStyle: UIAlertControllerStyle = .alert) {
+    public func showAlert(for error: Error, preferredStyle: AlertCoordinator.Style = .alert) {
         guard let viewController = self.viewController else {
             return
         }

        alertCoordinator.start()
    }

    public func showAlert(title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: UIAlertControllerStyle = .alert) {
        guard let viewController = self.viewController else {
            return
        }

    public weak var delegate: CoordinatorDelegate?

    private var type: InputType
    private var preferredStyle: Style

    // MARK: - Inits

    public init(parent: UIViewController, error: Error, preferredStyle: Style = .alert) {
        self.parentViewController = parent
        self.type = .error(error)
        self.preferredStyle = preferredStyle
    }

    public init(parent: UIViewController, title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: Style = .alert) {
        self.parentViewController = parent
        self.type = .custom(title: title, message: message, actions: actions)
        self.preferredStyle = preferredStyle
