Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 2679) sorted by relevance

12345678910>>...108

/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/Database/
H A DABI48_0_0EXUpdatesDatabase.h44 - (void)addUpdate:(ABI48_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
51 - (void)updateAsset:(ABI48_0_0EXUpdatesAsset *)asset error:(NSError ** _Nullable)error;
53 - (void)markUpdateFinished:(ABI48_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
54 - (void)markUpdateAccessed:(ABI48_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
56 …entFailedLaunchCountForUpdate:(ABI48_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
58 …d)markMissingAssets:(NSArray<ABI48_0_0EXUpdatesAsset *> *)assets error:(NSError ** _Nullable)error;
60 …oid)deleteUpdates:(NSArray<ABI48_0_0EXUpdatesUpdate *> *)updates error:(NSError ** _Nullable)error;
76 … ABI48_0_0EXUpdatesAsset *)assetWithKey:(nullable NSString *)key error:(NSError ** _Nullable)error;
79 … NSDictionary *)manifestFiltersWithScopeKey:(NSString *)scopeKey error:(NSError ** _Nullable)error;
80 … NSDictionary *)staticBuildDataWithScopeKey:(NSString *)scopeKey error:(NSError ** _Nullable)error;
[all …]
H A DABI48_0_0EXUpdatesReaper.m17 NSError *error;
20 [database markUpdateFinished:launchedUpdate error:&error];
21 if (error) {
26 …rray<ABI48_0_0EXUpdatesUpdate *> *allUpdates = [database allUpdatesWithConfig:config error:&error];
27 if (!allUpdates || error) {
40 [database deleteUpdates:updatesToDelete error:&error];
41 if (error) {
47 if (error) {
61 NSError *error;
62 …tsAtPath:localUrl.path] && ![NSFileManager.defaultManager removeItemAtURL:localUrl error:&error]) {
[all …]
H A DABI48_0_0EXUpdatesDatabase.m75 error:error];
103 error:error] == nil) {
183 error:error];
201 [self updateAsset:existingAsset error:error];
222 error:error];
295 if ([self _executeSql:update1Sql withArgs:nil error:error] == nil) {
306 if ([self _executeSql:update2Sql withArgs:nil error:error] == nil) {
335 if ([self _executeSql:deleteSql withArgs:nil error:error] == nil) {
564 error:error]) {
574 error:error]) {
[all …]
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/Database/
H A DABI47_0_0EXUpdatesDatabase.h44 - (void)addUpdate:(ABI47_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
51 - (void)updateAsset:(ABI47_0_0EXUpdatesAsset *)asset error:(NSError ** _Nullable)error;
53 - (void)markUpdateFinished:(ABI47_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
54 - (void)markUpdateAccessed:(ABI47_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
56 …entFailedLaunchCountForUpdate:(ABI47_0_0EXUpdatesUpdate *)update error:(NSError ** _Nullable)error;
58 …d)markMissingAssets:(NSArray<ABI47_0_0EXUpdatesAsset *> *)assets error:(NSError ** _Nullable)error;
60 …oid)deleteUpdates:(NSArray<ABI47_0_0EXUpdatesUpdate *> *)updates error:(NSError ** _Nullable)error;
76 … ABI47_0_0EXUpdatesAsset *)assetWithKey:(nullable NSString *)key error:(NSError ** _Nullable)error;
79 … NSDictionary *)manifestFiltersWithScopeKey:(NSString *)scopeKey error:(NSError ** _Nullable)error;
80 … NSDictionary *)staticBuildDataWithScopeKey:(NSString *)scopeKey error:(NSError ** _Nullable)error;
[all …]
H A DABI47_0_0EXUpdatesReaper.m17 NSError *error;
20 [database markUpdateFinished:launchedUpdate error:&error];
21 if (error) {
26 …rray<ABI47_0_0EXUpdatesUpdate *> *allUpdates = [database allUpdatesWithConfig:config error:&error];
27 if (!allUpdates || error) {
40 [database deleteUpdates:updatesToDelete error:&error];
41 if (error) {
47 if (error) {
61 NSError *error;
62 …tsAtPath:localUrl.path] && ![NSFileManager.defaultManager removeItemAtURL:localUrl error:&error]) {
[all …]
H A DABI47_0_0EXUpdatesDatabase.m75 error:error];
103 error:error] == nil) {
183 error:error];
201 [self updateAsset:existingAsset error:error];
222 error:error];
295 if ([self _executeSql:update1Sql withArgs:nil error:error] == nil) {
306 if ([self _executeSql:update2Sql withArgs:nil error:error] == nil) {
335 if ([self _executeSql:deleteSql withArgs:nil error:error] == nil) {
564 error:error]) {
574 error:error]) {
[all …]
/expo/packages/expo-dev-launcher/build/
H A DDevLauncherErrorManager.js12 function customizeUnavailableMessage(error) { argument
15 function customizeModuleIsMissingMessage(error) { argument
20 function customizeError(error) { argument
21 if ('code' in error) {
23 switch (error.code) {
33 customizeModuleIsMissingMessage(error);
37 if (error instanceof Error) {
43 customizeError(error);
46 originalHandler(error, isFatal);
49 return (error, isFatal) => {
[all …]
/expo/packages/expo/build/errors/
H A DExpoErrorManager.native.js3 function customizeUnavailableMessage(error) { argument
6 function customizeModuleIsMissingMessage(error) { argument
11 function customizeError(error) { argument
12 if ('code' in error && error.code === 'ERR_UNAVAILABLE') {
13 customizeUnavailableMessage(error);
18 customizeModuleIsMissingMessage(error);
22 if (error instanceof Error) {
23 customizeError(error);
25 originalHandler(error, isFatal);
28 return (error, isFatal) => {
[all …]
/expo/packages/expo/src/errors/
H A DExpoErrorManager.native.ts9 error.message += '\n\n' + developmentBuildMessage;
18 function customizeError(error: Error | CodedError) {
19 if ('code' in error && error.code === 'ERR_UNAVAILABLE') {
20 customizeUnavailableMessage(error);
25 customizeModuleIsMissingMessage(error);
30 if (error instanceof Error) {
31 customizeError(error);
33 originalHandler(error, isFatal);
37 return (error, isFatal) => {
39 errorHandler(originalHandler, error, isFatal);
[all …]
/expo/packages/expo-dev-launcher/src/
H A DDevLauncherErrorManager.ts28 function customizeError(error: Error | CodedError) {
29 if ('code' in error) {
31 switch (error.code) {
33 customizeUnavailableMessage(error);
41 customizeModuleIsMissingMessage(error);
46 if (error instanceof Error) {
52 customizeError(error);
56 originalHandler(error, isFatal);
60 return (error, isFatal) => {
62 errorHandler(originalHandler, error, isFatal);
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DErrors.kt76 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
80 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
84 return when (error) { in createError()
86 …mapError(code, error.message, error.localizedMessage, error.declineCode, error.stripeError?.type, in createError()
89 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
92 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
95 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
97 else -> mapError(code, error.message, error.localizedMessage.orEmpty(), null, null, null) in createError()
102 (error as? Exception)?.let { in createError()
110 error.message, in createError()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DErrors.kt76 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
80 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
84 return when (error) { in createError()
86 …mapError(code, error.message, error.localizedMessage, error.declineCode, error.stripeError?.type, in createError()
89 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
92 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
95 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
97 else -> mapError(code, error.message, error.localizedMessage.orEmpty(), null, null, null) in createError()
102 (error as? Exception)?.let { in createError()
110 error.message, in createError()
[all …]
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DErrors.kt75 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
79 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
83 return when (error) { in createError()
85 …mapError(code, error.message, error.localizedMessage, error.declineCode, error.stripeError?.type, in createError()
88 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
91 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
94 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
96 else -> mapError(code, error.message, error.localizedMessage.orEmpty(), null, null, null) in createError()
101 (error as? Exception)?.let { in createError()
108 error.message, in createError()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DErrors.kt76 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
80 …return mapError(code, error?.message, error?.message, error?.declineCode, error?.type?.code, error in createError()
84 return when (error) { in createError()
86 …mapError(code, error.message, error.localizedMessage, error.declineCode, error.stripeError?.type, in createError()
89 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
92 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
95 …mapError(code, error.message, error.localizedMessage, error.stripeError?.declineCode, error.stripe… in createError()
97 else -> mapError(code, error.message, error.localizedMessage.orEmpty(), null, null, null) in createError()
102 (error as? Exception)?.let { in createError()
110 error.message, in createError()
[all …]
/expo/packages/expo-modules-core/ios/Tests/
H A DExceptionsSpec.swift10 let error = TestException() in spec() variable
11 expect(error.name) == "TestException" in spec()
15 let error = TestException() in spec() variable
16 expect(error.code) == "ERR_TEST" in spec()
20 let error = TestException() in spec() variable
29 throw TestException().causedBy(error) in spec()
33 … testChainedExceptionTypes(error: error, types: [TestException.self, TestExceptionCause.self]) in spec()
46 throw TestException().causedBy(error) in spec()
59 throw TestException().causedBy(error) in spec()
63 if let error = error as? TestException, let cause = error.cause as? TestExceptionCause { in spec() variable
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DExceptionsSpec.swift10 let error = TestException() in spec() variable
11 expect(error.name) == "TestException" in spec()
15 let error = TestException() in spec() variable
16 expect(error.code) == "ERR_TEST" in spec()
20 let error = TestException() in spec() variable
29 throw TestException().causedBy(error) in spec()
33 … testChainedExceptionTypes(error: error, types: [TestException.self, TestExceptionCause.self]) in spec()
46 throw TestException().causedBy(error) in spec()
59 throw TestException().causedBy(error) in spec()
63 if let error = error as? TestException, let cause = error.cause as? TestExceptionCause { in spec() variable
[all …]
/expo/packages/@expo/config/src/
H A DevalConfig.ts33 } catch (error: any) {
40 error.codeFrame = codeFrame;
49 throw error;
55 error: Error | any
58 if (error.loc) {
59 return error.loc;
63 if ('lineNumber' in error && 'columnNumber' in error) {
64 return { line: error.lineNumber, column: error.columnNumber };
73 if (isSyntaxError(error)) {
86 function isSyntaxError(error: any): error is SyntaxError {
[all …]
/expo/packages/expo-router/build/
H A DrenderRootComponent.js21 function isErrorShaped(error) { argument
22 return (error &&
23 typeof error === 'object' &&
31 function convertError(error) { argument
32 if (isErrorShaped(error)) {
33 return error;
36 if (error == null) {
40 if (isBaseObject(error)) {
43 return new Error(String(error));
74 console.error(error);
[all …]
/expo/packages/@expo/cli/src/start/server/metro/
H A DmetroErrors.ts34 export function isFailedToResolveNameError(error: any): error is FailedToResolveNameError {
35 return !!error && 'extraPaths' in error && error.constructor.name === 'FailedToResolveNameError';
38 export function isFailedToResolvePathError(error: any): error is FailedToResolvePathError {
39 return !!error && 'candidates' in error && error.constructor.name === 'FailedToResolvePathError';
/expo/packages/@expo/config/build/
H A DevalConfig.js62 } catch (error) {
71 start: error.loc
83 throw error;
89 if (error.loc) {
90 return error.loc;
94 if ('lineNumber' in error && 'columnNumber' in error) {
96 line: error.lineNumber,
97 column: error.columnNumber
106 if (isSyntaxError(error)) {
119 function isSyntaxError(error) { argument
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/
H A DUtilities.swift11 errorPointer?.pointee = toNSError(error)
12 throw error
19 internal func toNSError(_ error: Error) -> NSError { in toNSError()
20 if let error = error as? Exception { in toNSError() variable
22 "name": error.name, in toNSError()
23 "code": error.code, in toNSError()
24 "message": error.debugDescription, in toNSError()
27 return error as NSError in toNSError()
/expo/packages/expo-local-authentication/ios/
H A DLocalAuthenticationModule.swift10 var error: NSError? in definition() variable
11 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
19 var error: NSError? in definition() variable
20 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
42 var error: NSError? in definition() variable
46 …ationSupported: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthentication, error: &error) in definition()
51 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
53 if isBiometricsSupported && error == nil { in definition()
105 if let error = error as? NSError { in definition() variable
106 err = convertErrorCode(error: error) in definition()
[all …]
/expo/ios/versioned/sdk49/ExpoLocalAuthentication/
H A DLocalAuthenticationModule.swift10 var error: NSError? in definition() variable
11 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
19 var error: NSError? in definition() variable
20 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
42 var error: NSError? in definition() variable
46 …ationSupported: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthentication, error: &error) in definition()
51 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
53 if isBiometricsSupported && error == nil { in definition()
105 if let error = error as? NSError { in definition() variable
106 err = convertErrorCode(error: error) in definition()
[all …]
/expo/ios/versioned/sdk48/ExpoLocalAuthentication/
H A DLocalAuthenticationModule.swift10 var error: NSError? in definition() variable
11 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
19 var error: NSError? in definition() variable
20 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
42 var error: NSError? in definition() variable
46 …ationSupported: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthentication, error: &error) in definition()
51 …: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error) in definition()
53 if isBiometricsSupported && error == nil { in definition()
105 if let error = error as? NSError { in definition() variable
106 err = convertErrorCode(error: error) in definition()
[all …]
/expo/packages/@expo/config-plugins/src/plugins/
H A DwithStaticPlugin.ts28 function isUnexpectedTokenError(error: Error): boolean {
30 error instanceof SyntaxError ||
31 (error instanceof PluginError && error.code === 'INVALID_PLUGIN_IMPORT')
35 !!error.message.match(/Unexpected token/) ||
36 !!error.message.match(/Cannot use import statement/)
92 } catch (error: any) {
97 console.log(error);
102 (isModuleMissingError(pluginResolve, error) || isUnexpectedTokenError(error));
110 console.log(error);
123 pluginProps._resolverError = error;
[all …]

12345678910>>...108