 }
 
 public struct TaskConfiguration {
-    static var apiHandler: ((Moya.Response) -> String?)?
-    static var genericFailureMessage = ""
-    static var notConnectedToInternetFailureMessage = ""
-    static var failureAlertDismissButton = "OK"
+    public static var apiHandler: ((Moya.Response) -> String?)?
+    public static var genericFailureMessage = ""
+    public static var notConnectedToInternetFailureMessage = ""
+    public static var failureAlertDismissButton = "OK"
 }
 
 extension Task: Equatable {}

        }
    }
    
    static func from<T>(error: Swift.Error, defaultMessage: String) -> Task<T> {
        if let apiHandler = TaskConfiguration.apiHandler,
            let moya = error as? MoyaError,
            let response = moya.response,


extension Task {
    
    public mutating func resetOnTermination() {
        switch self {
        case .successful(_): self = .idle
        case .failure(_): self = .idle
