android10 / android10/Android-CleanArchitecture
ErrorMessageFactory cleaner approach?
Open
discussion
question
- Dominant language
- Java
- Stars
- 15.5k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
I was wondering if this can be done in an efficient way than the current one. Because if you have many type of exceptions then this will be a huge `if/else if`` to catch all the cases.
I suppose that one solution is to separate the factories per feature but still I will duplicate the same code for application error or no internet connection to every factory.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.