Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 1269) sorted by relevance

12345678910>>...51

/expo/packages/expo-modules-core/ios/Swift/Exceptions/
H A DChainableException.swift6 public protocol ChainableException: Error, AnyObject {
10 var cause: Error? { get set }
15 var rootCause: Error? { get }
20 func causedBy(_ error: Error?) -> Self in causedBy()
25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
29 var rootCause: Error? { in causedBy()
37 func causedBy(_ error: Error?) -> Self { in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift6 public protocol ChainableException: Error, AnyObject {
10 var cause: Error? { get set }
15 var rootCause: Error? { get }
20 func causedBy(_ error: Error?) -> Self in causedBy()
25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
29 var rootCause: Error? { in causedBy()
37 func causedBy(_ error: Error?) -> Self { in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift6 public protocol ChainableException: Error, AnyObject {
10 var cause: Error? { get set }
15 var rootCause: Error? { get }
20 func causedBy(_ error: Error?) -> Self in causedBy()
25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
29 var rootCause: Error? { in causedBy()
37 func causedBy(_ error: Error?) -> Self { in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Exceptions/
H A DChainableException.swift6 public protocol ChainableException: Error, AnyObject {
10 var cause: Error? { get set }
15 var rootCause: Error? { get }
20 func causedBy(_ error: Error?) -> Self in causedBy()
25 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool in causedBy()
29 var rootCause: Error? { in causedBy()
37 func causedBy(_ error: Error?) -> Self { in causedBy()
42 func isCausedBy<ErrorType: Error>(_ errorType: ErrorType.Type) -> Bool { in causedBy()
/expo/packages/@expo/cli/src/api/user/__tests__/
H A Dotp-test.ts16 throw new Error('Should not be called');
21 throw new Error('Should not be called');
30 throw new Error("shouldn't happen");
56 throw new Error("shouldn't happen");
80 throw new Error("shouldn't happen");
86 throw new Error("shouldn't happen");
115 throw new Error("shouldn't happen");
140 throw new Error("shouldn't happen");
146 throw new Error("shouldn't happen");
175 throw new Error("shouldn't happen");
[all …]
/expo/packages/expo-calendar/build/
H A DCalendar.js146 … throw new Error('getEventsAsync must be called with an endDate (date) to search for events');
167 throw new Error('getEventAsync must be called with an id (string) of the target event');
197 throw new Error('createEventAsync requires a startDate (Date)');
200 throw new Error('createEventAsync requires an endDate (Date)');
222 throw new Error('updateEventAsync must be called with an id (string) of the target event');
249 throw new Error('deleteEventAsync must be called with an id (string) of the target event');
291 throw new Error('createAttendeeAsync requires an email (string)');
294 throw new Error('createAttendeeAsync requires a role (string)');
297 throw new Error('createAttendeeAsync requires a type (string)');
300 throw new Error('createAttendeeAsync requires a status (string)');
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/
H A Drun-ci-e2e-tests.js61 throw Error(exitCode);
69 throw Error(exitCode);
75 throw Error(exitCode);
122 throw Error(exitCode);
141 throw Error(exitCode);
158 throw Error(exitCode);
169 throw Error(exitCode);
191 throw Error(exitCode);
253 throw Error(exitCode);
268 throw Error(exitCode);
[all …]
H A Drun-ci-javascript-tests.js40 throw Error(exitCode);
47 throw Error(exitCode);
53 throw Error(exitCode);
65 throw Error(exitCode);
72 throw Error(exitCode);
/expo/packages/@expo/config-plugins/build/utils/
H A Derrors.d.ts1 export declare class UnexpectedError extends Error {
9 export declare class PluginError extends Error {
11 cause?: Error | undefined;
14 constructor(message: string, code: PluginErrorCode, cause?: Error | undefined);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/
H A Drun-ci-e2e-tests.js54 throw Error(exitCode);
62 throw Error(exitCode);
68 throw Error(exitCode);
107 throw Error(exitCode);
126 throw Error(exitCode);
143 throw Error(exitCode);
154 throw Error(exitCode);
178 throw Error(exitCode);
240 throw Error(exitCode);
255 throw Error(exitCode);
[all …]
/expo/apps/native-component-list/src/api/
H A Dguid.ts30 throw new Error(
38 throw new Error(
46 throw new Error('Cannot get GUID with null `Application.applicationId`');
49 throw new Error(
57 throw new Error(
/expo/packages/expo-router/build/views/
H A DTry.d.ts7 error: Error;
13 error?: Error;
18 static getDerivedStateFromError(error: Error): {
19 error: Error;
/expo/packages/expo-calendar/src/
H A DCalendar.ts621 throw new Error(
672 throw new Error(
705 throw new Error(
862 throw new Error(
895 throw new Error('createAttendeeAsync requires a role (string)');
898 throw new Error('createAttendeeAsync requires a type (string)');
979 throw new Error(
984 throw new Error(
989 throw new Error(
1056 throw new Error(
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI49_0_0Error.h14 class Error {
17 Error(std::string message) : message_(std::move(message)) {} in Error() function
19 Error(const char *message) : Error(std::string(message)) {} in Error() function
45 struct Bridging<Error> {
46 static jsi::Value toJs(jsi::Runtime &rt, const Error &error) {
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI48_0_0Error.h14 class Error {
17 Error(std::string message) : message_(std::move(message)) {} in Error() function
19 Error(const char *message) : Error(std::string(message)) {} in Error() function
45 struct Bridging<Error> {
46 static jsi::Value toJs(jsi::Runtime &rt, const Error &error) {
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI47_0_0Error.h14 class Error {
17 Error(std::string message) : message_(std::move(message)) {} in Error() function
19 Error(const char *message) : Error(std::string(message)) {} in Error() function
45 struct Bridging<Error> {
46 static jsi::Value toJs(jsi::Runtime &rt, const Error &error) {
/expo/packages/@expo/cli/src/start/doctor/apple/__tests__/
H A DXcrunPrerequisite-test.ts19 throw new Error("shouldn't happen");
31 throw new Error('foobar');
40 throw new Error("shouldn't happen");
54 throw new Error('foobar');
63 throw new Error("shouldn't happen");
/expo/packages/@expo/metro-runtime/src/error-overlay/
H A DuseRejectionHandler.ts10 const currentLimit = Error.stackTraceLimit;
12 Error.stackTraceLimit = limit;
18 Error.stackTraceLimit = current.current;
34 if (!error || !(error instanceof Error) || typeof error.stack !== 'string') {
45 if (!reason || !(reason instanceof Error) || typeof reason.stack !== 'string') {
/expo/packages/create-expo/src/
H A Derror.ts5 export class ExitError extends Error {
7 public cause: string | Error,
10 super(cause instanceof Error ? cause.message : cause);
/expo/packages/expo-media-library/build/
H A DMediaLibrary.js20 throw new Error('Asset ID must be a string!');
25 throw new Error('Album ID must be a string!');
30 throw new Error(`Invalid mediaType: ${mediaType}`);
46 throw new Error(`Invalid sortBy key: ${sortBy}`);
198 throw new Error('Invalid album ID. It must be a string!');
284 throw new Error('Album title must be a string!');
314 throw new Error('Asset ID must be a string!');
364 throw new Error('Option "first" must be a number!');
367 throw new Error('Option "after" must be a string!');
370 throw new Error('Option "album" must be a string!');
[all …]
/expo/packages/create-expo/src/__tests__/
H A DresolvePackageManager.test.ts46 throw new Error('foobar');
58 throw new Error('foobar');
61 throw new Error('foobar');
74 throw new Error('foobar');
77 throw new Error('foobar');
80 throw new Error('foobar');
/expo/packages/expo-secure-store/src/__tests__/__snapshots__/
H A DSecureStore-test.native.ts.snap.android3 exports[`checks for invalid keys 1`] = `[Error: Invalid key provided to SecureStore. Keys must not …
5 exports[`checks for invalid keys 2`] = `[Error: Invalid key provided to SecureStore. Keys must not …
7 exports[`checks for invalid keys 3`] = `[Error: Invalid key provided to SecureStore. Keys must not …
9 exports[`checks for invalid keys 4`] = `[Error: Invalid key provided to SecureStore. Keys must not …
11 exports[`checks for invalid keys 5`] = `[Error: Invalid key provided to SecureStore. Keys must not …
13 exports[`checks for invalid values 1`] = `[Error: Invalid value provided to SecureStore. Values mus…
15 exports[`checks for invalid values 2`] = `[Error: Invalid value provided to SecureStore. Values mus…
17 exports[`checks for invalid values 3`] = `[Error: Invalid value provided to SecureStore. Values mus…
19 exports[`checks for invalid values 4`] = `[Error: Invalid value provided to SecureStore. Values mus…
H A DSecureStore-test.native.ts.snap.ios3 exports[`checks for invalid keys 1`] = `[Error: Invalid key provided to SecureStore. Keys must not …
5 exports[`checks for invalid keys 2`] = `[Error: Invalid key provided to SecureStore. Keys must not …
7 exports[`checks for invalid keys 3`] = `[Error: Invalid key provided to SecureStore. Keys must not …
9 exports[`checks for invalid keys 4`] = `[Error: Invalid key provided to SecureStore. Keys must not …
11 exports[`checks for invalid keys 5`] = `[Error: Invalid key provided to SecureStore. Keys must not …
13 exports[`checks for invalid values 1`] = `[Error: Invalid value provided to SecureStore. Values mus…
15 exports[`checks for invalid values 2`] = `[Error: Invalid value provided to SecureStore. Values mus…
17 exports[`checks for invalid values 3`] = `[Error: Invalid value provided to SecureStore. Values mus…
19 exports[`checks for invalid values 4`] = `[Error: Invalid value provided to SecureStore. Values mus…
/expo/packages/@expo/config/build/
H A DErrors.d.ts5 export declare class ConfigError extends Error {
7 cause?: Error | undefined;
10 constructor(message: string, code: ConfigErrorCode, cause?: Error | undefined);
/expo/packages/@expo/cli/src/run/ios/appleDevice/protocol/
H A DLockdownProtocol.ts31 Error: string; property
50 return isDefined(resp.Error);
74 if (resp.Error === 'DeviceLocked') {
78 if (resp.Error === 'InvalidService') {
79 let errorMessage = `${resp.Error}: ${resp.Service} (request: ${resp.Request})`;
87 throw new CommandError('APPLE_DEVICE_LOCKDOWN', resp.Error);

12345678910>>...51