Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/securestore/
H A DSecureStoreExceptions.kt8 internal class WriteException(message: String?, cause: Throwable?) :
11 internal class ReadException(cause: Throwable?) :
12 CodedException("An unexpected error occurred when reading from SecureStore", cause)
14 internal class SecureStoreIOException(cause: Throwable?) :
17 internal class EncryptException(message: String?, cause: Throwable?) :
18 CodedException(message ?: "Could not encrypt the value for SecureStore", cause)
20 internal class DecryptException(message: String?, cause: Throwable?) :
21 CodedException(message ?: "Could not decrypt the value for SecureStore", cause)
23 internal class SecureStoreJSONException(message: String?, cause: Throwable?) :
24 CodedException(message, cause)
[all …]
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/exception/
H A DCodedException.kt32 …constructor(code: String, message: String?, cause: Throwable?) : this(message = message, cause = c…
36 constructor(cause: Throwable) : this(message = cause.localizedMessage, cause = cause)
78 cause = cause in errorCodeOf()
135 cause
144 cause,
153 cause,
161 cause
171 cause,
197 cause
205 cause
[all …]
/expo/packages/expo-modules-core/ios/Swift/Exceptions/
H A DChainableException.swift10 var cause: Error? { get set } variable
30 if let cause = cause as? ChainableException { in causedBy() variable
31 return cause.rootCause ?? cause in causedBy()
33 return cause in causedBy()
38 cause = error ?? cause in causedBy()
43 if cause is ErrorType { in causedBy()
46 if let cause = cause as? ChainableException { in causedBy() variable
47 return cause.isCausedBy(errorType) in causedBy()
H A DException.swift47 open var cause: Error? variable
51 open lazy var description: String = concatDescription(reason, withCause: cause, debug: false)
57 return concatDescription(debugDescription, withCause: cause, debug: true)
64 private func concatDescription(_ description: String, withCause cause: Error?, debug: Bool = false)… in concatDescription()
66 switch cause { in concatDescription()
67 case let cause as Exception: in concatDescription()
68 return description + causeSeparator + (debug ? cause.debugDescription : cause.description) in concatDescription()
69 case let cause as CodedError: in concatDescription()
71 return description + causeSeparator + cause.description in concatDescription()
72 case let cause?: in concatDescription()
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift10 var cause: Error? { get set } variable
30 if let cause = cause as? ChainableException { in causedBy() variable
31 return cause.rootCause ?? cause in causedBy()
33 return cause in causedBy()
38 cause = error ?? cause in causedBy()
43 if cause is ErrorType { in causedBy()
46 if let cause = cause as? ChainableException { in causedBy() variable
47 return cause.isCausedBy(errorType) in causedBy()
H A DException.swift47 open var cause: Error? variable
51 open lazy var description: String = concatDescription(reason, withCause: cause, debug: false)
57 return concatDescription(debugDescription, withCause: cause, debug: true)
64 private func concatDescription(_ description: String, withCause cause: Error?, debug: Bool = false)… in concatDescription()
66 switch cause { in concatDescription()
67 case let cause as Exception: in concatDescription()
68 return description + causeSeparator + (debug ? cause.debugDescription : cause.description) in concatDescription()
69 case let cause as CodedError: in concatDescription()
71 return description + causeSeparator + cause.description in concatDescription()
72 case let cause?: in concatDescription()
[all …]
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift10 var cause: Error? { get set } variable
30 if let cause = cause as? ChainableException { in causedBy() variable
31 return cause.rootCause ?? cause in causedBy()
33 return cause in causedBy()
38 cause = error ?? cause in causedBy()
43 if cause is ErrorType { in causedBy()
46 if let cause = cause as? ChainableException { in causedBy() variable
47 return cause.isCausedBy(errorType) in causedBy()
H A DException.swift47 open var cause: Error? variable
51 open lazy var description: String = concatDescription(reason, withCause: cause, debug: false)
57 return concatDescription(debugDescription, withCause: cause, debug: true)
64 private func concatDescription(_ description: String, withCause cause: Error?, debug: Bool = false)… in concatDescription()
66 switch cause { in concatDescription()
67 case let cause as Exception: in concatDescription()
68 return description + causeSeparator + (debug ? cause.debugDescription : cause.description) in concatDescription()
69 case let cause as CodedError: in concatDescription()
71 return description + causeSeparator + cause.description in concatDescription()
72 case let cause?: in concatDescription()
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift10 var cause: Error? { get set } variable
30 if let cause = cause as? ChainableException { in causedBy() variable
31 return cause.rootCause ?? cause in causedBy()
33 return cause in causedBy()
38 cause = error ?? cause in causedBy()
43 if cause is ErrorType { in causedBy()
46 if let cause = cause as? ChainableException { in causedBy() variable
47 return cause.isCausedBy(errorType) in causedBy()
H A DException.swift47 open var cause: Error? variable
51 open lazy var description: String = concatDescription(reason, withCause: cause, debug: false)
57 return concatDescription(debugDescription, withCause: cause, debug: true)
64 private func concatDescription(_ description: String, withCause cause: Error?, debug: Bool = false)… in concatDescription()
66 switch cause { in concatDescription()
67 case let cause as Exception: in concatDescription()
68 return description + causeSeparator + (debug ? cause.debugDescription : cause.description) in concatDescription()
69 case let cause as CodedError: in concatDescription()
71 return description + causeSeparator + cause.description in concatDescription()
72 case let cause?: in concatDescription()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt25 …constructor(code: String, message: String?, cause: Throwable?) : this(message = message, cause = c…
29 constructor(cause: Throwable) : this(message = cause.localizedMessage, cause = cause)
71 cause = cause in errorCodeOf()
125 cause.code,
127 cause
136 cause,
145 cause,
155 cause,
175 cause
183 cause
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt25 …constructor(code: String, message: String?, cause: Throwable?) : this(message = message, cause = c…
29 constructor(cause: Throwable) : this(message = cause.localizedMessage, cause = cause)
71 cause = cause in errorCodeOf()
111 cause.code,
113 cause
122 cause,
131 cause,
141 cause,
151 cause
159 cause
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt31 …constructor(code: String, message: String?, cause: Throwable?) : this(message = message, cause = c…
35 constructor(cause: Throwable) : this(message = cause.localizedMessage, cause = cause)
77 cause = cause in errorCodeOf()
134 cause
143 cause,
152 cause,
160 cause
170 cause,
196 cause
204 cause
[all …]
/expo/packages/expo-print/android/src/main/java/expo/modules/print/
H A DPrintExceptions.kt5 internal class Base64EncodingFailedException(cause: Throwable? = null) :
6 CodedException("An error occurred while encoding PDF file to base64 string: ", cause)
8 internal class UnexpectedPrintException(message: String, cause: Throwable? = null) :
9 CodedException(message, cause)
11 internal class CannotLoadUriException(uri: String? = "null", cause: Throwable? = null) :
12 CodedException("An error occurred while trying to load the following data URI: $uri", cause)
20 internal class PdfWriteException(cause: Throwable? = null) :
21 CodedException("An error occured while writing the PDF data", cause)
23 internal class FileNotFoundException(cause: Throwable? = null) :
24 CodedException("Cannot create or open a file", cause)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/print/
H A DPrintExceptions.kt5 internal class Base64EncodingFailedException(cause: Throwable? = null) :
6 CodedException("An error occurred while encoding PDF file to base64 string: ", cause)
8 internal class UnexpectedPrintException(message: String, cause: Throwable? = null) :
9 CodedException(message, cause)
11 internal class CannotLoadUriException(uri: String? = "null", cause: Throwable? = null) :
12 CodedException("An error occurred while trying to load the following data URI: $uri", cause)
20 internal class PdfWriteException(cause: Throwable? = null) :
21 CodedException("An error occured while writing the PDF data", cause)
23 internal class FileNotFoundException(cause: Throwable? = null) :
24 CodedException("Cannot create or open a file", cause)
/expo/packages/expo-image-picker/android/src/main/java/expo/modules/imagepicker/
H A DImagePickerExceptions.kt10 internal class FailedToCreateFileException(path: String, cause: Throwable? = null) :
11 CodedException("Failed to create the file '$path'", cause)
16 internal class FailedToExtractVideoMetadataException(file: File? = null, cause: Throwable? = null) :
17 …Exception("Failed to extract metadata from video file '${file?.toUri()?.toString() ?: ""}'", cause)
19 internal class FailedToWriteExifDataToFileException(file: File, cause: Throwable) :
20 CodedException("Failed to write EXIF data to file '${file.toUri()}", cause)
22 internal class FailedToWriteFileException(file: File? = null, cause: Throwable? = null) :
23 CodedException("Failed to write a file '${file?.toUri()?.toString() ?: ""}'", cause)
25 internal class FailedToReadFileException(file: File, cause: Throwable? = null) :
26 CodedException("Failed to read a file '${file.toUri()}", cause)
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/imagepicker/
H A DImagePickerExceptions.kt10 internal class FailedToCreateFileException(path: String, cause: Throwable? = null) :
11 CodedException("Failed to create the file '$path'", cause)
13 internal class FailedToExtractVideoMetadataException(file: File? = null, cause: Throwable? = null) :
14 …Exception("Failed to extract metadata from video file '${file?.toUri()?.toString() ?: ""}'", cause)
16 internal class FailedToWriteExifDataToFileException(file: File, cause: Throwable) :
17 CodedException("Failed to write EXIF data to file '${file.toUri()}", cause)
19 internal class FailedToWriteFileException(file: File? = null, cause: Throwable? = null) :
20 CodedException("Failed to write a file '${file?.toUri()?.toString() ?: ""}'", cause)
22 internal class FailedToReadFileException(file: File, cause: Throwable? = null) :
23 CodedException("Failed to read a file '${file.toUri()}", cause)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/imagepicker/
H A DImagePickerExceptions.kt10 internal class FailedToCreateFileException(path: String, cause: Throwable? = null) :
11 CodedException("Failed to create the file '$path'", cause)
16 internal class FailedToExtractVideoMetadataException(file: File? = null, cause: Throwable? = null) :
17 …Exception("Failed to extract metadata from video file '${file?.toUri()?.toString() ?: ""}'", cause)
19 internal class FailedToWriteExifDataToFileException(file: File, cause: Throwable) :
20 CodedException("Failed to write EXIF data to file '${file.toUri()}", cause)
22 internal class FailedToWriteFileException(file: File? = null, cause: Throwable? = null) :
23 CodedException("Failed to write a file '${file?.toUri()?.toString() ?: ""}'", cause)
25 internal class FailedToReadFileException(file: File, cause: Throwable? = null) :
26 CodedException("Failed to read a file '${file.toUri()}", cause)
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/imagepicker/
H A DImagePickerExceptions.kt10 internal class FailedToCreateFileException(path: String, cause: Throwable? = null) :
11 CodedException("Failed to create the file '$path'", cause)
13 internal class FailedToExtractVideoMetadataException(file: File? = null, cause: Throwable? = null) :
14 …Exception("Failed to extract metadata from video file '${file?.toUri()?.toString() ?: ""}'", cause)
16 internal class FailedToWriteExifDataToFileException(file: File, cause: Throwable) :
17 CodedException("Failed to write EXIF data to file '${file.toUri()}", cause)
19 internal class FailedToWriteFileException(file: File? = null, cause: Throwable? = null) :
20 CodedException("Failed to write a file '${file?.toUri()?.toString() ?: ""}'", cause)
22 internal class FailedToReadFileException(file: File, cause: Throwable? = null) :
23 CodedException("Failed to read a file '${file.toUri()}", cause)
/expo/packages/expo-clipboard/android/src/main/java/expo/modules/clipboard/
H A DClipboardExceptions.kt8 internal class NoPermissionException(cause: SecurityException?) :
9 CodedException("App has no permission to read this clipboard item", cause)
11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
17 internal class InvalidImageException(image: String, cause: Throwable?) :
22 cause
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt8 internal class NoPermissionException(cause: SecurityException?) :
9 CodedException("App has no permission to read this clipboard item", cause)
11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
17 internal class InvalidImageException(image: String, cause: Throwable?) :
22 cause
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt8 internal class NoPermissionException(cause: SecurityException?) :
9 CodedException("App has no permission to read this clipboard item", cause)
11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
17 internal class InvalidImageException(image: String, cause: Throwable?) :
22 cause
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt8 internal class NoPermissionException(cause: SecurityException?) :
9 CodedException("App has no permission to read this clipboard item", cause)
11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
17 internal class InvalidImageException(image: String, cause: Throwable?) :
22 cause
/expo/packages/expo-secure-store/android/src/main/java/expo/modules/securestore/
H A DSecureStoreExceptions.kt8 internal class WriteException(message: String?, key: String, keychain: String, cause: Throwable? = …
9 …hen writing to key: '$key' under keychain: '$keychain'. Caused by: ${message ?: "unknown"}", cause)
11 internal class EncryptException(message: String?, key: String, keychain: String, cause: Throwable? …
12 …pt the value for key '$key' under keychain '$keychain'. Caused by: ${message ?: "unknown"}", cause)
14 internal class DecryptException(message: String?, key: String, keychain: String, cause: Throwable? …
15 …pt the value for key '$key' under keychain '$keychain'. Caused by: ${message ?: "unknown"}", cause)
17 internal class DeleteException(message: String?, key: String, keychain: String, cause: Throwable? =…
18 …te the value for key '$key' under keychain '$keychain'. Caused by: ${message ?: "unknown"}", cause)
20 internal class AuthenticationException(message: String?, cause: Throwable? = null) :
21 CodedException("Could not Authenticate the user: ${message ?: "unknown"}", cause)
/expo/packages/expo-screen-orientation/android/src/main/java/expo/modules/screenorientation/
H A DScreenOrientationExceptions.kt5 internal class InvalidOrientationLockException(orientationLock: Int, cause: Exception) :
6 CodedException("An invalid OrientationLock was passed in: $orientationLock", cause)
8 internal class GetOrientationLockException(cause: Exception) :
9 CodedException("Could not get the current screen orientation lock: ", cause)
11 internal class GetPlatformOrientationLockException(cause: Exception) :
12 CodedException("Could not get the current screen orientation platform lock", cause)

12345678910>>...14