vds_ios/VDS/Protocols/Errorable.swift
Matt Bruce 16e8067f8e commented code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-26 10:23:38 -05:00

19 lines
368 B
Swift

//
// Errorable.swift
// VDS
//
// Created by Matt Bruce on 8/3/22.
//
import Foundation
/// Protocol used for objects that require to show an error
public protocol Errorable {
/// Whether not to show the errorText
var showError: Bool { get set }
/// Text that needs to be shown if showError is true
var errorText: String? { get set }
}