I suggest to use some custom exceptions instead of some UI errors to let developers to try / catch specific errors to help them to fallback to some code logic.
For example : appcenter_fetch_version_number if the app didn't exist on appcenter, we should be able to fallback to a default version number based on a logic. Today we need to catch the error and then do a string equality.
I suggest to use some custom exceptions instead of some UI errors to let developers to try / catch specific errors to help them to fallback to some code logic.
For example : appcenter_fetch_version_number if the app didn't exist on appcenter, we should be able to fallback to a default version number based on a logic. Today we need to catch the error and then do a string equality.