1 import ExpoModulesCore
2 
3 internal class InvalidURLException: Exception {
4   override var code: String {
5     "ERR_DEV_LAUNCHER_INVALID_URL"
6   }
7 
8   override var reason: String {
9     "Cannot parse the provided url."
10   }
11 }
12 
13 internal class CannotLoadAppException: GenericException<String> {
14   override var code: String {
15     "ERR_DEV_LAUNCHER_CANNOT_LOAD_APP"
16   }
17 
18   override var reason: String {
19     "Could not load the app: \(param)"
20   }
21 }
22 
23 internal class WebBrowserAlreadyPresentedException: Exception {
24   override var code: String {
25     "ERR_DEV_MENU_WEB_BROWSER"
26   }
27 
28   override var reason: String {
29     "Another WebBrowser is already being presented."
30   }
31 }
32