         }
     }
 }
+
+extension NSError: LocalizedError {
+
+    public var errorDescription: String? {
+        return self.localizedDescription
+    }
+
+}

        }
        .navigationViewStyle(StackNavigationViewStyle())
        .colorScheme(.dark)
    }
}


    
    private let footerText = "Don't forget to add your subscription terms and conditions. Read more about this here: https://www.revenuecat.com/blog/schedule-2-section-3-8-b"
    
    @State private var error: NSError?
    @State private var displayError: Bool = false

    var body: some View {
        NavigationView {
            ZStack {
