Home
last modified time | relevance | path

Searched refs:throwable (Results 1 – 25 of 49) sorted by relevance

12

/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/
H A DPromise.kt40 override fun reject(code: String?, throwable: Throwable?) { in Promise()
41 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
44 override fun reject(code: String?, message: String?, throwable: Throwable?) { in Promise()
45 expoPromise.reject(code ?: unknownCode, message, throwable) in Promise()
48 override fun reject(throwable: Throwable?) { in Promise()
49 expoPromise.reject(unknownCode, null, throwable) in Promise()
52 override fun reject(throwable: Throwable?, userInfo: WritableMap?) { in Promise()
53 expoPromise.reject(unknownCode, null, throwable) in Promise()
60 override fun reject(code: String?, throwable: Throwable?, userInfo: WritableMap?) { in Promise()
61 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/
H A DPromise.kt36 override fun reject(code: String?, throwable: Throwable?) { in Promise()
37 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
40 override fun reject(code: String?, message: String?, throwable: Throwable?) { in Promise()
41 expoPromise.reject(code ?: unknownCode, message, throwable) in Promise()
44 override fun reject(throwable: Throwable?) { in Promise()
45 expoPromise.reject(unknownCode, null, throwable) in Promise()
48 override fun reject(throwable: Throwable?, userInfo: WritableMap?) { in Promise()
49 expoPromise.reject(unknownCode, null, throwable) in Promise()
56 override fun reject(code: String?, throwable: Throwable?, userInfo: WritableMap?) { in Promise()
57 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/
H A DPromise.kt36 override fun reject(code: String?, throwable: Throwable?) { in Promise()
37 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
40 override fun reject(code: String?, message: String?, throwable: Throwable?) { in Promise()
41 expoPromise.reject(code ?: unknownCode, message, throwable) in Promise()
44 override fun reject(throwable: Throwable?) { in Promise()
45 expoPromise.reject(unknownCode, null, throwable) in Promise()
48 override fun reject(throwable: Throwable?, userInfo: WritableMap?) { in Promise()
49 expoPromise.reject(unknownCode, null, throwable) in Promise()
56 override fun reject(code: String?, throwable: Throwable?, userInfo: WritableMap?) { in Promise()
57 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/
H A DPromise.kt36 override fun reject(code: String?, throwable: Throwable?) { in Promise()
37 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
40 override fun reject(code: String?, message: String?, throwable: Throwable?) { in Promise()
41 expoPromise.reject(code ?: unknownCode, message, throwable) in Promise()
44 override fun reject(throwable: Throwable?) { in Promise()
45 expoPromise.reject(unknownCode, null, throwable) in Promise()
48 override fun reject(throwable: Throwable?, userInfo: WritableMap?) { in Promise()
49 expoPromise.reject(unknownCode, null, throwable) in Promise()
56 override fun reject(code: String?, throwable: Throwable?, userInfo: WritableMap?) { in Promise()
57 expoPromise.reject(code ?: unknownCode, null, throwable) in Promise()
[all …]
/expo/packages/expo-dev-launcher/android/src/debug/java/expo/modules/devlauncher/launcher/errors/
H A DDevLauncherErrorRegistry.kt15 val throwable: Throwable, constant in expo.modules.devlauncher.launcher.errors.DevLauncherErrorInstance
21 putString("message", throwable.message ?: "Unknown") in toWritableMap()
22 putString("stack", throwable.stackTraceToString()) in toWritableMap()
34 fun storeException(throwable: Throwable) { in storeException()
35 val errorInstance = DevLauncherErrorInstance(throwable) in storeException()
/expo/packages/expo-modules-core/ios/Tests/
H A DExceptionsSpec.swift25 func throwable() throws { in spec() function
32 expect { try throwable() }.to(throwError { error in in spec()
38 func throwable() throws { in spec() function
49 expect { try throwable() }.to(throwError { error in in spec()
55 func throwable() throws { in spec() function
62 expect { try throwable() }.to(throwError { error in in spec()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DExceptionsSpec.swift25 func throwable() throws { in spec() function
32 expect { try throwable() }.to(throwError { error in in spec()
38 func throwable() throws { in spec() function
49 expect { try throwable() }.to(throwError { error in in spec()
55 func throwable() throws { in spec() function
62 expect { try throwable() }.to(throwError { error in in spec()
/expo/android/vendored/unversioned/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/next/
H A DErrorHelpers.kt8 return CoroutineExceptionHandler { _, throwable -> in <lambda>() method
10 if (throwable !is AsyncStorageError) { in <lambda>()
15 error.putString("message", throwable.errorMessage) in <lambda>()
/expo/android/vendored/sdk49/@react-native-async-storage/async-storage/android/src/main/java/abi49_0_0/com/reactnativecommunity/asyncstorage/next/
H A DErrorHelpers.kt8 return CoroutineExceptionHandler { _, throwable -> in <lambda>() method
10 if (throwable !is AsyncStorageError) { in <lambda>()
15 error.putString("message", throwable.errorMessage) in <lambda>()
/expo/android/vendored/sdk48/@react-native-async-storage/async-storage/android/src/main/java/abi48_0_0/com/reactnativecommunity/asyncstorage/next/
H A DErrorHelpers.kt8 return CoroutineExceptionHandler { _, throwable -> in <lambda>() method
10 if (throwable !is AsyncStorageError) { in <lambda>()
15 error.putString("message", throwable.errorMessage) in <lambda>()
/expo/packages/expo-location/android/src/main/java/expo/modules/location/
H A DLocationRequestCallbacks.java9 public void onLocationError(CodedException throwable) {} in onLocationError() argument
11 public void onRequestFailed(CodedException throwable) {} in onRequestFailed() argument
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/location/
H A DLocationRequestCallbacks.java9 public void onLocationError(CodedException throwable) {} in onLocationError() argument
11 public void onRequestFailed(CodedException throwable) {} in onRequestFailed() argument
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/location/
H A DLocationRequestCallbacks.java9 public void onLocationError(CodedException throwable) {} in onLocationError() argument
11 public void onRequestFailed(CodedException throwable) {} in onRequestFailed() argument
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/location/
H A DLocationRequestCallbacks.java9 public void onLocationError(CodedException throwable) {} in onLocationError() argument
11 public void onRequestFailed(CodedException throwable) {} in onRequestFailed() argument
/expo/packages/expo-modules-core/android/src/main/cpp/
H A DExceptions.cpp109 auto throwable = env->ExceptionOccurred(); in throwPendingJniExceptionAsCppException() local
110 if (!throwable) { in throwPendingJniExceptionAsCppException()
115 throw jni::JniException(jni::adopt_local(throwable)); in throwPendingJniExceptionAsCppException()
118 void throwNewJavaException(jthrowable throwable) { in throwNewJavaException() argument
119 throw jni::JniException(jni::wrap_alias(throwable)); in throwNewJavaException()
/expo/packages/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/logs/
H A DDevLauncherRemoteLogManager.kt13 fun deferError(throwable: Throwable) { in deferError()
14 batch.add(throwable.toRemoteLogString()) in deferError()
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/
H A DTestUtils.kt33 fun throwableContentResolver(throwable: Throwable): ContentResolver { in mockContentResolverForResult()
35 every { contentResolver.query(any(), any(), any(), any(), any()) } throws throwable in mockContentResolverForResult()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/updates/logging/
H A DUpdatesLogger.kt135 val throwable = exception as? Throwable ?: Throwable() in <lambda>() constant
139 LogType.Error -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
141 LogType.Fatal -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/updates/logging/
H A DUpdatesLogger.kt135 val throwable = exception as? Throwable ?: Throwable() in <lambda>() constant
139 LogType.Error -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
141 LogType.Fatal -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt111 constructor(throwable: Throwable) : this(throwable.toString(), throwable)
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt97 constructor(throwable: Throwable) : this(throwable.toString(), throwable) in errorCodeOf()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/updates/logging/
H A DUpdatesLogger.kt135 val throwable = exception as? Throwable ?: Throwable() in <lambda>() constant
139 LogType.Error -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
141 LogType.Fatal -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/logging/
H A DUpdatesLogger.kt135 val throwable = exception as? Throwable ?: Throwable() in <lambda>() constant
139 LogType.Error -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
141 LogType.Fatal -> throwable.stackTrace.take(MAX_FRAMES_IN_STACKTRACE) in <lambda>()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/exception/
H A DCodedException.kt119 constructor(throwable: Throwable) : this(throwable.toString(), throwable)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/exception/
H A DCodedException.kt118 constructor(throwable: Throwable) : this(throwable.toString(), throwable)

12