Home
last modified time | relevance | path

Searched refs:CodedError (Results 1 – 25 of 118) sorted by relevance

12345

/expo/packages/expo-clipboard/build/web/
H A DExceptions.d.ts1 import { CodedError } from 'expo-modules-core';
2 export declare class ClipboardUnavailableException extends CodedError {
5 export declare class CopyFailureException extends CodedError {
8 export declare class PasteFailureException extends CodedError {
11 export declare class NoPermissionException extends CodedError {
H A DExceptions.js1 import { CodedError } from 'expo-modules-core';
2 export class ClipboardUnavailableException extends CodedError {
7 export class CopyFailureException extends CodedError {
12 export class PasteFailureException extends CodedError {
17 export class NoPermissionException extends CodedError {
/expo/packages/expo-clipboard/src/web/
H A DExceptions.ts1 import { CodedError } from 'expo-modules-core';
3 export class ClipboardUnavailableException extends CodedError {
9 export class CopyFailureException extends CodedError {
15 export class PasteFailureException extends CodedError {
21 export class NoPermissionException extends CodedError {
/expo/packages/expo-notifications/build/
H A DgetDevicePushTokenAsync.web.js2 import { CodedError, Platform, SyntheticPlatformEmitter } from 'expo-modules-core';
10 …throw new CodedError('ERR_UNAVAILABLE', 'The Web Notifications API is not available on this device…
13 …throw new CodedError('ERR_UNAVAILABLE', 'Notifications cannot be used because the service worker A…
16 …throw new CodedError('ERR_NOTIFICATIONS_PERMISSION_DENIED', `Cannot use web notifications without …
23 …throw new CodedError('ERR_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG', 'You must provide `notification.…
28 …throw new CodedError('ERR_NOTIFICATIONS_PUSH_MISSING_CONFIGURATION', 'You must specify `notificati…
36 …throw new CodedError('ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED', `Could not register this device…
40 …throw new CodedError('ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED', 'Could not register this device…
51 …throw new CodedError('ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED', 'The device was unable to regis…
H A DgetExpoPushTokenAsync.js3 import { Platform, CodedError, UnavailabilityError } from 'expo-modules-core';
53 …throw new CodedError('ERR_NOTIFICATIONS_NO_EXPERIENCE_ID', "No 'projectId' found. If 'projectId' c…
57 …throw new CodedError('ERR_NOTIFICATIONS_NO_APPLICATION_ID', "No applicationId found. If it can't b…
78 …throw new CodedError('ERR_NOTIFICATIONS_NETWORK_ERROR', `Error encountered while fetching Expo tok…
89 …throw new CodedError('ERR_NOTIFICATIONS_SERVER_ERROR', `Error encountered while fetching Expo toke…
114 …throw new CodedError('ERR_NOTIFICATIONS_SERVER_ERROR', `Expected a JSON response from server when …
117 …throw new CodedError('ERR_NOTIFICATIONS_SERVER_ERROR', `Expected a JSON response from server when …
128 …throw new CodedError('ERR_NOTIFICATIONS_SERVER_ERROR', `Malformed response from server, expected "…
141 …throw new CodedError('ERR_NOTIF_DEVICE_ID', `Could not have fetched installation ID of the applica…
/expo/packages/expo-notifications/src/
H A DgetDevicePushTokenAsync.web.ts2 import { CodedError, Platform, SyntheticPlatformEmitter } from 'expo-modules-core';
14 throw new CodedError(
20 throw new CodedError(
26 throw new CodedError(
37 throw new CodedError(
46 throw new CodedError(
57 throw new CodedError(
65 throw new CodedError(
79 throw new CodedError(
H A DgetExpoPushTokenAsync.ts3 import { Platform, CodedError, UnavailabilityError } from 'expo-modules-core';
64 throw new CodedError(
72 throw new CodedError(
99 throw new CodedError(
113 throw new CodedError(
147 throw new CodedError(
154 throw new CodedError(
173 throw new CodedError(
195 throw new CodedError(
/expo/packages/expo-font/build/
H A DFont.js1 import { CodedError, Platform, UnavailabilityError } from 'expo-modules-core';
76 …return Promise.reject(new CodedError(`ERR_FONT_API`, `No fontFamily can be used for the provided s…
94 …throw new CodedError(`ERR_FONT_SOURCE`, `Cannot load null or undefined font source: { "${fontFamil…
127 …throw new CodedError(`ERR_UNLOAD`, `Cannot unload fonts while they're still loading: ${Object.keys…
149 …throw new CodedError(`ERR_FONT_API`, `No fontFamily can be used for the provided options: ${option…
171 throw new CodedError(`ERR_FONT_FAMILY`, `Cannot unload an empty name`);
/expo/packages/expo-modules-core/build/errors/
H A DUnavailabilityError.d.ts1 import { CodedError } from './CodedError';
7 export declare class UnavailabilityError extends CodedError {
H A DUnavailabilityError.js1 import { CodedError } from './CodedError';
8 export class UnavailabilityError extends CodedError {
/expo/packages/expo-modules-core/src/ts-declarations/
H A DExpoModules.d.ts1 import { CodedError } from '../errors/CodedError';
4 ExpoModulesCore_CodedError: typeof CodedError;
/expo/packages/expo/src/errors/
H A DExpoErrorManager.native.ts2 type CodedError = Error & { code?: string }; alias
8 function customizeUnavailableMessage(error: CodedError) {
18 function customizeError(error: Error | CodedError) {
/expo/packages/expo-image-picker/build/
H A DImagePicker.js1 import { PermissionStatus, createPermissionHook, UnavailabilityError, CodedError, } from 'expo-modu…
8 …throw new CodedError('ERR_INVALID_ARGUMENT', `Invalid aspect ratio values ${x}:${y}. Provide posit…
12 …throw new CodedError('ERR_INVALID_ARGUMENT', `Invalid 'quality' value ${quality}. Provide a value …
15 …throw new CodedError('ERR_INVALID_ARGUMENT', `Invalid 'videoMaxDuration' value ${videoMaxDuration}…
/expo/packages/expo-font/src/
H A DFont.ts1 import { CodedError, Platform, UnavailabilityError } from 'expo-modules-core';
96 new CodedError(
128 throw new CodedError(
170 throw new CodedError(
201 throw new CodedError(
233 throw new CodedError(`ERR_FONT_FAMILY`, `Cannot unload an empty name`);
/expo/packages/expo-modules-core/src/errors/
H A DUnavailabilityError.ts1 import { CodedError } from './CodedError';
9 export class UnavailabilityError extends CodedError {
/expo/packages/expo-image-manipulator/build/utils/
H A DgetContext.web.js1 import { CodedError } from 'expo-modules-core';
5 throw new CodedError('ERR_IMAGE_MANIPULATOR', 'Failed to create canvas context');
/expo/packages/expo-modules-core/ios/Swift/Exceptions/
H A DCodedError.swift6 public protocol CodedError: Error, CustomStringConvertible { protocol
14 public extension CodedError {
35 public struct SimpleCodedError: CodedError {
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Exceptions/
H A DCodedError.swift6 public protocol CodedError: Error, CustomStringConvertible { protocol
14 public extension CodedError {
35 public struct SimpleCodedError: CodedError {
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Exceptions/
H A DCodedError.swift6 public protocol CodedError: Error, CustomStringConvertible { protocol
14 public extension CodedError {
35 public struct SimpleCodedError: CodedError {
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Exceptions/
H A DCodedError.swift6 public protocol CodedError: Error, CustomStringConvertible { protocol
14 public extension CodedError {
35 public struct SimpleCodedError: CodedError {
/expo/packages/expo-sms/build/
H A DExpoSMS.web.js1 import { CodedError } from 'expo-modules-core';
10 throw new CodedError('E_SMS_UNAVAILABLE', 'SMS not available');
/expo/packages/expo-image-manipulator/src/utils/
H A DgetContext.web.ts1 import { CodedError } from 'expo-modules-core';
6 throw new CodedError('ERR_IMAGE_MANIPULATOR', 'Failed to create canvas context');
/expo/packages/expo-sms/src/
H A DExpoSMS.web.ts1 import { CodedError } from 'expo-modules-core';
13 throw new CodedError('E_SMS_UNAVAILABLE', 'SMS not available');
/expo/packages/expo-dev-launcher/src/
H A DDevLauncherErrorManager.ts2 type CodedError = Error & { code?: string }; alias
18 function customizeUnavailableMessage(error: CodedError) {
28 function customizeError(error: Error | CodedError) {
/expo/packages/expo-image-picker/src/
H A DImagePicker.ts8 CodedError,
27 throw new CodedError(
35 throw new CodedError(
42 throw new CodedError(

12345