1 import ABI49_0_0ExpoModulesCore
2 
3 internal class SMSUnavailableException: Exception {
4   override var reason: String {
5     "SMS service is not available"
6   }
7 }
8 
9 internal class SMSPendingException: Exception {
10   override var reason: String {
11     "SMS sending in progress, await the old request and then try again"
12   }
13 }
14 
15 internal class SMSSendingException: GenericException<String> {
16   override var reason: String {
17     param
18   }
19 }
20 
21 internal class SMSFileException: GenericException<String> {
22   override var reason: String {
23     "Failed to attach file: \(param)"
24   }
25 }
26 
27 internal class SMSMimeTypeException: GenericException<String> {
28   override var reason: String {
29     "Failed to find UTI for mimeType: \(param)"
30   }
31 }
32 
33 internal class SMSUriException: GenericException<String> {
34   override var reason: String {
35     "Invalid file uri: \(param)"
36   }
37 }
38