Update
I'm excited to share ErrorManager—a simple, SwiftUI-ready package for managing and presenting global errors in your iOS/macOS apps!
Check out the package on here!
❓ Why ErrorManager?
Handling user-facing errors in SwiftUI often leads to cluttered view logic. With ErrorManager, you can:
• Handle error state in a dedicated ObservableObject
• Display errors using a clean .alert integration
• Prevent duplicate or overlapping errors with smart override logic
• Easily control global error