Home
last modified time | relevance | path

Searched refs:errorType (Results 1 – 25 of 29) sorted by relevance

12

/expo/packages/expo-modules-core/ios/Swift/Exceptions/
H A DChainableException.swift25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
47 return cause.isCausedBy(errorType) in causedBy()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
47 return cause.isCausedBy(errorType) in causedBy()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
47 return cause.isCausedBy(errorType) in causedBy()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
47 return cause.isCausedBy(errorType) in causedBy()
/expo/packages/expo-modules-core/ios/Tests/
H A DEnumerableSpec.swift16 throwError(errorType: EnumNoSuchValueException.self) in spec()
21 throwError(errorType: EnumCastingException.self) in spec()
24 throwError(errorType: EnumCastingException.self) in spec()
H A DConvertiblesSpec.swift126 throwError(errorType: Conversions.ConvertingException<URL>.self) in spec()
151 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
154 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
157 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
196 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
199 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
202 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
241 throwError(errorType: Conversions.ConvertingException<CGVector>.self) in spec()
292 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
295 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
[all …]
H A DDynamicTypeSpec.swift31 throwError(errorType: Conversions.NullCastException<Double>.self) in spec()
36 throwError(errorType: Conversions.CastingException<String>.self) in spec()
96 throwError(errorType: Conversions.CastingException<String>.self) in spec()
142 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
195 throwError(errorType: EnumNoSuchValueException.self) in spec()
200 throwError(errorType: EnumCastingException.self) in spec()
260 throwError(errorType: Conversions.CastingException<Double>.self) in spec()
311 throwError(errorType: NativeSharedObjectNotFoundException.self) in spec()
H A DExceptionsSpec.swift99 for errorType in types { in testChainedExceptionTypes()
100 let expectedErrorTypeName = String(describing: errorType) in testChainedExceptionTypes()
H A DEitherSpec.swift43 …ring, Int>.convert(from: true, appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
93 …, Double>.convert(from: false, appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
117 …e, Bool>.convert(from: [1, 2], appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DEnumerableSpec.swift16 throwError(errorType: EnumNoSuchValueException.self) in spec()
21 throwError(errorType: EnumCastingException.self) in spec()
24 throwError(errorType: EnumCastingException.self) in spec()
H A DConvertiblesSpec.swift126 throwError(errorType: Conversions.ConvertingException<URL>.self) in spec()
151 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
154 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
157 throwError(errorType: Conversions.ConvertingException<CGPoint>.self) in spec()
196 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
199 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
202 throwError(errorType: Conversions.ConvertingException<CGSize>.self) in spec()
241 throwError(errorType: Conversions.ConvertingException<CGVector>.self) in spec()
292 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
295 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
[all …]
H A DDynamicTypeSpec.swift31 throwError(errorType: Conversions.NullCastException<Double>.self) in spec()
36 throwError(errorType: Conversions.CastingException<String>.self) in spec()
96 throwError(errorType: Conversions.CastingException<String>.self) in spec()
142 throwError(errorType: Conversions.ConvertingException<CGRect>.self) in spec()
195 throwError(errorType: EnumNoSuchValueException.self) in spec()
200 throwError(errorType: EnumCastingException.self) in spec()
260 throwError(errorType: Conversions.CastingException<Double>.self) in spec()
311 throwError(errorType: NativeSharedObjectNotFoundException.self) in spec()
H A DExceptionsSpec.swift99 for errorType in types { in testChainedExceptionTypes()
100 let expectedErrorTypeName = String(describing: errorType) in testChainedExceptionTypes()
H A DEitherSpec.swift43 …ring, Int>.convert(from: true, appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
93 …, Double>.convert(from: false, appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
117 …e, Bool>.convert(from: [1, 2], appContext: appContext) }).to(throwError(errorType: NeitherTypeExce… in spec()
/expo/packages/@expo/metro-runtime/src/async-require/
H A DfetchThenEval.web.ts52 const errorType = event && (event.type === 'load' ? 'missing' : event.type); constant
55 error.message = 'Loading module ' + url + ' failed.\n(' + errorType + ': ' + realSrc + ')';
56 error.type = errorType;
/expo/packages/@expo/metro-runtime/build/async-require/
H A DfetchThenEval.web.js47 const errorType = event && (event.type === 'load' ? 'missing' : event.type);
50 … error.message = 'Loading module ' + url + ' failed.\n(' + errorType + ': ' + realSrc + ')';
51 error.type = errorType;
H A DfetchThenEval.web.js.map1errorType = event && (event.type === 'load' ? 'missing' : event.type);\n // @ts-expect-error\…
/expo/packages/expo-updates/ios/Tests/
H A DDatabaseInitializationSpec.swift466 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
562 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
570 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
669 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
677 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
H A DUpdatesDatabaseSpec.swift67 }.to(throwError(errorType: UpdatesDatabaseUtilsError.self) { error in in spec()
/expo/ios/vendored/unversioned/@stripe/stripe-react-native/ios/
H A DMappers.swift469 …class func mapFromPaymentIntentLastPaymentErrorType(_ errorType: STPPaymentIntentLastPaymentErrorT… in mapFromPaymentIntentLastPaymentErrorType()
470 if let errorType = errorType { in mapFromPaymentIntentLastPaymentErrorType() variable
471 switch errorType { in mapFromPaymentIntentLastPaymentErrorType()
486 …class func mapFromSetupIntentLastPaymentErrorType(_ errorType: STPSetupIntentLastSetupErrorType?) … in mapFromSetupIntentLastPaymentErrorType()
487 if let errorType = errorType { in mapFromSetupIntentLastPaymentErrorType() variable
488 switch errorType { in mapFromSetupIntentLastPaymentErrorType()
/expo/ios/vendored/sdk47/@stripe/stripe-react-native/ios/
H A DMappers.swift455 …class func mapFromPaymentIntentLastPaymentErrorType(_ errorType: STPPaymentIntentLastPaymentErrorT… in mapFromPaymentIntentLastPaymentErrorType()
456 if let errorType = errorType { in mapFromPaymentIntentLastPaymentErrorType() variable
457 switch errorType { in mapFromPaymentIntentLastPaymentErrorType()
472 …class func mapFromSetupIntentLastPaymentErrorType(_ errorType: STPSetupIntentLastSetupErrorType?) … in mapFromSetupIntentLastPaymentErrorType()
473 if let errorType = errorType { in mapFromSetupIntentLastPaymentErrorType() variable
474 switch errorType { in mapFromSetupIntentLastPaymentErrorType()
/expo/ios/vendored/sdk48/@stripe/stripe-react-native/ios/
H A DMappers.swift467 …class func mapFromPaymentIntentLastPaymentErrorType(_ errorType: STPPaymentIntentLastPaymentErrorT… in mapFromPaymentIntentLastPaymentErrorType()
468 if let errorType = errorType { in mapFromPaymentIntentLastPaymentErrorType() variable
469 switch errorType { in mapFromPaymentIntentLastPaymentErrorType()
484 …class func mapFromSetupIntentLastPaymentErrorType(_ errorType: STPSetupIntentLastSetupErrorType?) … in mapFromSetupIntentLastPaymentErrorType()
485 if let errorType = errorType { in mapFromSetupIntentLastPaymentErrorType() variable
486 switch errorType { in mapFromSetupIntentLastPaymentErrorType()
/expo/ios/vendored/sdk49/@stripe/stripe-react-native/ios/
H A DMappers.swift469 …class func mapFromPaymentIntentLastPaymentErrorType(_ errorType: STPPaymentIntentLastPaymentErrorT… in mapFromPaymentIntentLastPaymentErrorType()
470 if let errorType = errorType { in mapFromPaymentIntentLastPaymentErrorType() variable
471 switch errorType { in mapFromPaymentIntentLastPaymentErrorType()
486 …class func mapFromSetupIntentLastPaymentErrorType(_ errorType: STPSetupIntentLastSetupErrorType?) … in mapFromSetupIntentLastPaymentErrorType()
487 if let errorType = errorType { in mapFromSetupIntentLastPaymentErrorType() variable
488 switch errorType { in mapFromSetupIntentLastPaymentErrorType()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DMappers.kt493 internal fun mapFromPaymentIntentLastErrorType(errorType: PaymentIntent.Error.Type?): String? { in mapFromPaymentIntentLastErrorType()
494 return when (errorType) { in mapFromPaymentIntentLastErrorType()
506 internal fun mapFromSetupIntentLastErrorType(errorType: SetupIntent.Error.Type?): String? { in mapFromSetupIntentLastErrorType()
507 return when (errorType) { in mapFromSetupIntentLastErrorType()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/utils/
H A DMappers.kt519 internal fun mapFromPaymentIntentLastErrorType(errorType: PaymentIntent.Error.Type?): String? { in mapFromPaymentIntentLastErrorType()
520 return when (errorType) { in mapFromPaymentIntentLastErrorType()
532 internal fun mapFromSetupIntentLastErrorType(errorType: SetupIntent.Error.Type?): String? { in mapFromSetupIntentLastErrorType()
533 return when (errorType) { in mapFromSetupIntentLastErrorType()

12