26,414 matches across 25 files for error
snippet_mode: auto · sorted by relevance
packages/react-server/src/ReactFlightServer.js JAVASCRIPT 362 matches · showing 5 view file →
32 completeWriting,
33 close,
34 closeWithError,
35} from './ReactServerStreamConfig';
36
· · ·
64 ReactCallSite,
65 ReactFunctionLocation,
66 ReactErrorInfo,
67 ReactErrorInfoDev,
68 ReactKey,
· · ·
67 ReactErrorInfoDev,
68 ReactKey,
69} from 'shared/ReactTypes';
· · ·
142
143import {
144 describeObjectForErrorMessage,
145 isGetter,
146 isSimpleObject,
· · ·
148 jsxChildrenParents,
149 objectName,
150} from 'shared/ReactSerializationErrors';
151
152import ReactSharedInternals from './ReactSharedInternalsServer';
+ 357 more matches in this file
packages/react-devtools-shared/src/backend/fiber/renderer.js JAVASCRIPT 210 matches · showing 5 view file →
82 TREE_OPERATION_REORDER_CHILDREN,
83 TREE_OPERATION_SET_SUBTREE_MODE,
84 TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS,
85 TREE_OPERATION_UPDATE_TREE_BASE_DURATION,
86 TREE_OPERATION_APPLIED_ACTIVITY_SLICE_CHANGE,
· · ·
124} from 'react-devtools-shared/src/backend/DevToolsNativeHost';
125import {
126 isError,
127 rootSupportsProfiling,
128 isErrorBoundary,
· · ·
128 isErrorBoundary,
129 getSecondaryEnvironmentName,
130 areEqualRects,
· · ·
446 overridePropsRenamePath,
447 scheduleRefresh,
448 setErrorHandler,
449 setSuspenseHandler,
450 scheduleUpdate,
· · ·
452 getCurrentFiber,
453 } = renderer;
454 const supportsTogglingError =
455 typeof setErrorHandler === 'function' &&
456 typeof scheduleUpdate === 'function';
+ 205 more matches in this file
compiler/packages/babel-plugin-react-compiler/src/HIR/BuildHIR.ts TYPESCRIPT 245 matches · showing 5 view file →
11import {
12 CompilerDiagnostic,
13 CompilerError,
14 CompilerErrorDetail,
15 CompilerSuggestionOperation,
· · ·
14 CompilerErrorDetail,
15 CompilerSuggestionOperation,
16 ErrorCategory,
· · ·
16 ErrorCategory,
17} from '../CompilerError';
18import {assertExhaustive, hasNode} from '../Utils/utils';
· · ·
17} from '../CompilerError';
18import {assertExhaustive, hasNode} from '../Utils/utils';
19import {Environment} from './Environment';
· · ·
107 const binding = builder.resolveIdentifier(param);
108 if (binding.kind !== 'Identifier') {
109 builder.recordError(
110 CompilerDiagnostic.create({
111 category: ErrorCategory.Invariant,
+ 240 more matches in this file
packages/react-server/src/ReactFizzServer.js JAVASCRIPT 333 matches · showing 5 view file →
43import type {ThenableState} from './ReactFizzThenable';
44
45import {describeObjectForErrorMessage} from 'shared/ReactSerializationErrors';
46
47import {
· · ·
54 flushBuffered,
55 close,
56 closeWithError,
57 byteLengthOfChunk,
58} from './ReactServerStreamConfig';
· · ·
251};
252
253const CLIENT_RENDERED = 4; // if it errors or infinitely suspends
254
255type SuspenseBoundary = {
· · ·
270 fallbackNode: null | ReplayNode, // used to track the fallback for replay nodes
271 },
272 errorDigest: ?string, // the error hash if it errors
273 // DEV-only fields
274 errorMessage?: null | string, // the error string if it errors
· · ·
274 errorMessage?: null | string, // the error string if it errors
275 errorStack?: null | string, // the error stack if it errors
276 errorComponentStack?: null | string, // the error component stack if it errors
+ 328 more matches in this file
packages/react-client/src/ReactFlightClient.js JAVASCRIPT 243 matches · showing 5 view file →
18 ReactStackTrace,
19 ReactFunctionLocation,
20 ReactErrorInfoDev,
21} from 'shared/ReactTypes';
22import type {LazyComponent} from 'react/src/ReactLazy';
· · ·
78 logDedupedComponentRender,
79 logComponentAborted,
80 logComponentErrored,
81 logIOInfo,
82 logIOInfoErrored,
· · ·
82 logIOInfoErrored,
83 logComponentAwait,
84 logComponentAwaitAborted,
· · ·
85 logComponentAwaitErrored,
86} from './ReactFlightPerformanceTrack';
87
· · ·
101import {injectInternals} from './ReactFlightClientDevToolsHook';
102
103import {OMITTED_PROP_ERROR} from 'shared/ReactFlightPropertyAccess';
104
105import ReactVersion from 'shared/ReactVersion';
+ 238 more matches in this file
packages/react-reconciler/src/ReactFiberWorkLoop.js JAVASCRIPT 230 matches · showing 5 view file →
66import is from 'shared/objectIs';
67
68import reportGlobalError from 'shared/reportGlobalError';
69
70import {
· · ·
85 logSuspendedRenderPhase,
86 logRecoveredRenderPhase,
87 logErroredRenderPhase,
88 logInconsistentRender,
89 logSuspendedWithDelayPhase,
· · ·
198 getNextLanes,
199 getEntangledLanes,
200 getLanesToRetrySynchronouslyOnError,
201 upgradePendingLanesToSync,
202 markRootSuspended as _markRootSuspended,
· · ·
238import {
239 throwException,
240 createRootErrorUpdate,
241 createClassErrorUpdate,
242 initializeClassErrorUpdate,
· · ·
241 createClassErrorUpdate,
242 initializeClassErrorUpdate,
243} from './ReactFiberThrow';
+ 225 more matches in this file
packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js JAVASCRIPT 142 matches · showing 5 view file →
466 if (onHeaders && typeof maxHeadersLength === 'number') {
467 if (maxHeadersLength <= 0) {
468 console.error(
469 'React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.',
470 maxHeadersLength === 0 ? 'zero' : maxHeadersLength,
· · ·
1203): void {
1204 if (typeof style !== 'object') {
1205 throw new Error(
1206 'The `style` prop expects a mapping from style properties to values, ' +
1207 "not a string. For example, style={{marginRight: spacing + 'em'}} when " +
· · ·
1323 escapeTextForBrowser(
1324 // eslint-disable-next-line no-script-url
1325 "javascript:throw new Error('React form unexpectedly submitted.')",
1326 ),
1327);
· · ·
1354function validateAdditionalFormField(value: string | File, key: string): void {
1355 if (typeof value !== 'string') {
1356 throw new Error(
1357 'File/Blob fields are not yet supported in progressive forms. ' +
1358 'Will fallback to client hydration.',
· · ·
1391 // work there.
1392 if (__DEV__) {
1393 // TODO: Should this be some kind of recoverable error?
1394 console.error(
1395 'Failed to serialize an action for progressive enhancement:\n%s',
+ 137 more matches in this file
packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js JAVASCRIPT 119 matches · showing 5 view file →
576 !isScriptDataBlock(props)
577 ) {
578 console.error(
579 'Encountered a script tag while rendering React component. ' +
580 'Scripts inside React components are never executed when rendering ' +
· · ·
626 // Even if you use `is`, these should be of known type and lower case.
627 if (type !== type.toLowerCase()) {
628 console.error(
629 '<%s /> is using incorrect casing. ' +
630 'Use PascalCase for React components, ' +
· · ·
640 ) {
641 warnedUnknownTags[type] = true;
642 console.error(
643 'The tag <%s> is unrecognized in this browser. ' +
644 'If you meant to render a React component, start its name with ' +
· · ·
867 : typeof localPromise !== 'undefined'
868 ? callback =>
869 localPromise.resolve(null).then(callback).catch(handleErrorInNextTick)
870 : scheduleTimeout; // TODO: Determine the best fallback here.
871
· · ·
872function handleErrorInNextTick(error: any) {
873 setTimeout(() => {
874 throw error;
+ 114 more matches in this file
compiler/packages/babel-plugin-react-compiler/src/Inference/InferMutationAliasingEffects.ts TYPESCRIPT 54 matches · showing 5 view file →
8import {
9 CompilerDiagnostic,
10 CompilerError,
11 Effect,
12 SourceLocation,
· · ·
70 MutationReason,
71} from './AliasingEffects';
72import {ErrorCategory} from '../CompilerError';
73
74const DEBUG = false;
· · ·
93 * to the current abtract state, and effects may be dropped or rewritten accordingly.
94 * For example, a "MutateConditionally <x>" effect may be dropped if x is not a mutable
95 * value. A "Mutate <y>" effect may get converted into a "MutateFrozen <error>" effect
96 * if y is mutable, etc.
97 */
· · ·
132
133 if (fn.fnType === 'Component') {
134 CompilerError.invariant(fn.params.length <= 2, {
135 reason:
136 'Expected React component to have not more than two parameters: one for props and for ref',
· · ·
199 iterationCount++;
200 if (iterationCount > 100) {
201 CompilerError.invariant(false, {
202 reason: `[InferMutationAliasingEffects] Potential infinite loop`,
203 description: `A value, temporary place, or effect was not cached properly`,
+ 49 more matches in this file
compiler/crates/react_compiler_lowering/src/build_hir.rs RUST 181 matches · showing 5 view file →
9use react_compiler_diagnostics::CompilerDiagnostic;
10use react_compiler_diagnostics::CompilerDiagnosticDetail;
11use react_compiler_diagnostics::CompilerError;
12use react_compiler_diagnostics::CompilerErrorDetail;
13use react_compiler_diagnostics::ErrorCategory;
· · ·
12use react_compiler_diagnostics::CompilerErrorDetail;
13use react_compiler_diagnostics::ErrorCategory;
14use react_compiler_hir::environment::Environment;
· · ·
13use react_compiler_diagnostics::ErrorCategory;
14use react_compiler_hir::environment::Environment;
15use react_compiler_hir::*;
· · ·
52/// Serialize an expression to a serde_json::Value for UnsupportedNode's original_node.
53/// Returns None if serialization fails (should not happen for valid AST nodes).
54/// This should ONLY be called on error/bail paths — never eagerly before deciding
55/// to create an UnsupportedNode.
56fn serialize_expression(
· · ·
146 scope_info: &ScopeInfo,
147 function_scope: ScopeId,
148) -> Result<(), CompilerError> {
149 let Some(scope) = scope_info.scopes.get(function_scope.0 as usize) else {
150 return Ok(());
+ 176 more matches in this file
compiler/crates/react_compiler/src/entrypoint/program.rs RUST 99 matches · showing 5 view file →
35use react_compiler_ast::visitor::Visitor;
36use react_compiler_ast::visitor::walk_program_mut;
37use react_compiler_diagnostics::CompilerError;
38use react_compiler_diagnostics::CompilerErrorDetail;
39use react_compiler_diagnostics::CompilerErrorOrDiagnostic;
· · ·
38use react_compiler_diagnostics::CompilerErrorDetail;
39use react_compiler_diagnostics::CompilerErrorOrDiagnostic;
40use react_compiler_diagnostics::ErrorCategory;
· · ·
39use react_compiler_diagnostics::CompilerErrorOrDiagnostic;
40use react_compiler_diagnostics::ErrorCategory;
41use react_compiler_diagnostics::SourceLocation;
· · ·
40use react_compiler_diagnostics::ErrorCategory;
41use react_compiler_diagnostics::SourceLocation;
42use react_compiler_hir::ReactFunctionType;
· · ·
47use super::compile_result::CodegenFunction;
48use super::compile_result::CompileResult;
49use super::compile_result::CompilerErrorDetailInfo;
50use super::compile_result::CompilerErrorInfo;
51use super::compile_result::CompilerErrorItemInfo;
+ 94 more matches in this file
packages/react-reconciler/src/ReactFiberCommitWork.js JAVASCRIPT 66 matches · showing 5 view file →
129 pushComponentEffectDuration,
130 popComponentEffectDuration,
131 pushComponentEffectErrors,
132 popComponentEffectErrors,
133 pushComponentEffectDidSpawnUpdate,
· · ·
132 popComponentEffectErrors,
133 pushComponentEffectDidSpawnUpdate,
134 popComponentEffectDidSpawnUpdate,
· · ·
136 componentEffectEndTime,
137 componentEffectDuration,
138 componentEffectErrors,
139 componentEffectSpawnedUpdate,
140} from './ReactProfilerTimer';
· · ·
141import {
142 logComponentRender,
143 logComponentErrored,
144 logComponentEffect,
145 logComponentMount,
· · ·
185} from './ReactFiberConfig';
186import {
187 captureCommitPhaseError,
188 resolveRetryWakeable,
189 markCommitTimeOfFallback,
+ 61 more matches in this file
compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccessInRender.ts TYPESCRIPT 80 matches · showing 5 view file →
8import {
9 CompilerDiagnostic,
10 CompilerError,
11 ErrorCategory,
12} from '../CompilerError';
· · ·
11 ErrorCategory,
12} from '../CompilerError';
13import {
· · ·
12} from '../CompilerError';
13import {
14 BlockId,
· · ·
35 *
36 * ```javascript
37 * // ERROR
38 * const ref = useRef();
39 * ref.current;
· · ·
55
56function makeRefId(id: number): RefId {
57 CompilerError.invariant(id >= 0 && Number.isInteger(id), {
58 reason: 'Expected identifier id to be a non-negative integer',
59 loc: GeneratedSource,
+ 75 more matches in this file
compiler/packages/snap/src/minimize.ts TYPESCRIPT 37 matches · showing 5 view file →
20
21type CompileSuccess = {kind: 'success'};
22type CompileParseError = {kind: 'parse_error'; message: string};
23type CompileErrors = {
24 kind: 'errors';
· · ·
23type CompileErrors = {
24 kind: 'errors';
25 errors: Array<{category: string; reason: string; description: string | null}>;
· · ·
24 kind: 'errors';
25 errors: Array<{category: string; reason: string; description: string | null}>;
26};
· · ·
25 errors: Array<{category: string; reason: string; description: string | null}>;
26};
27type CompileResult = CompileSuccess | CompileParseError | CompileErrors;
· · ·
27type CompileResult = CompileSuccess | CompileParseError | CompileErrors;
28
29/**
+ 32 more matches in this file
packages/react-dom-bindings/src/client/ReactDOMComponent.js JAVASCRIPT 66 matches · showing 5 view file →
105 props.children != null
106 ) {
107 console.error(
108 'A component is `contentEditable` and contains `children` managed by ' +
109 'React. It is now your responsibility to guarantee that none of ' +
· · ·
127 if (tag === 'form') {
128 if (key === 'formAction') {
129 console.error(
130 'You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.',
131 );
· · ·
136 ) {
137 didWarnFormActionMethod = true;
138 console.error(
139 'Cannot specify a encType or method for a form that specifies a ' +
140 'function as the action. React provides those automatically. ' +
· · ·
144 if (props.target != null && !didWarnFormActionTarget) {
145 didWarnFormActionTarget = true;
146 console.error(
147 'Cannot specify a target for a form that specifies a function as the action. ' +
148 'The function will always be executed in the same window.',
· · ·
152 } else if (tag === 'input' || tag === 'button') {
153 if (key === 'action') {
154 console.error(
155 'You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.',
156 );
+ 61 more matches in this file
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/CodegenReactiveFunction.ts TYPESCRIPT 67 matches · showing 5 view file →
15} from '.';
16import {
17 CompilerError,
18 CompilerErrorDetail,
19 ErrorCategory,
· · ·
18 CompilerErrorDetail,
19 ErrorCategory,
20} from '../CompilerError';
· · ·
19 ErrorCategory,
20} from '../CompilerError';
21import {Environment, ExternalFunction} from '../HIR';
· · ·
20} from '../CompilerError';
21import {Environment, ExternalFunction} from '../HIR';
22import {
· · ·
274 );
275 if (assertResult.isErr()) {
276 fn.env.recordErrors(assertResult.unwrapErr());
277 }
278 }
+ 62 more matches in this file
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts TYPESCRIPT 73 matches · showing 5 view file →
10import {
11 CompilerDiagnostic,
12 CompilerError,
13 CompilerErrorDetail,
14 ErrorCategory,
· · ·
13 CompilerErrorDetail,
14 ErrorCategory,
15} from '../CompilerError';
· · ·
14 ErrorCategory,
15} from '../CompilerError';
16import {CompileErrorDetail} from './Options';
· · ·
15} from '../CompilerError';
16import {CompileErrorDetail} from './Options';
17import {ExternalFunction, ReactFunctionType} from '../HIR/Environment';
· · ·
16import {CompileErrorDetail} from './Options';
17import {ExternalFunction, ReactFunctionType} from '../HIR/Environment';
18import {CodegenFunction} from '../ReactiveScopes';
+ 68 more matches in this file
packages/react-reconciler/src/ReactFiberBeginWork.js JAVASCRIPT 91 matches · showing 5 view file →
176 isSuspenseInstancePending,
177 isSuspenseInstanceFallback,
178 getSuspenseInstanceFallbackErrorDetails,
179 supportsHydration,
180 supportsResources,
· · ·
186} from './ReactFiberConfig';
187import type {ActivityInstance, SuspenseInstance} from './ReactFiberConfig';
188import {shouldError, shouldSuspend} from './ReactFiberReconciler';
189import {
190 pushHostContext,
· · ·
250 claimNextHydratableSuspenseInstance,
251 warnIfHydrating,
252 queueHydrationError,
253} from './ReactFiberHydrationContext';
254import {
· · ·
278import {pushCacheProvider, CacheContext} from './ReactFiberCacheComponent';
279import {
280 createCapturedValueFromError,
281 createCapturedValueAtFiber,
282} from './ReactCapturedValue';
· · ·
283import {OffscreenVisible} from './ReactFiberOffscreenComponent';
284import {
285 createClassErrorUpdate,
286 initializeClassErrorUpdate,
287} from './ReactFiberThrow';
+ 86 more matches in this file
packages/react-devtools-shared/src/devtools/store.js JAVASCRIPT 115 matches · showing 5 view file →
19 TREE_OPERATION_REORDER_CHILDREN,
20 TREE_OPERATION_SET_SUBTREE_MODE,
21 TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS,
22 TREE_OPERATION_UPDATE_TREE_BASE_DURATION,
23 TREE_OPERATION_APPLIED_ACTIVITY_SLICE_CHANGE,
· · ·
68 BridgeProtocol,
69} from 'react-devtools-shared/src/bridge';
70import UnsupportedBridgeOperationError from 'react-devtools-shared/src/UnsupportedBridgeOperationError';
71import type {DevToolsHookSettings} from '../backend/types';
72
· · ·
113 'React::DevTools::recordChangeDescriptions';
114
115type ErrorAndWarningTuples = Array<{id: number, index: number}>;
116
117export type Config = {
· · ·
149 collapseNodesByDefault: [],
150 componentFilters: [],
151 error: [Error],
152 hookSettings: [$ReadOnly<DevToolsHookSettings>],
153 hostInstanceSelected: [Element['id'] | null],
· · ·
177 _bridge: FrontendBridge;
178
179 // Computed whenever _errorsAndWarnings Map changes.
180 _cachedComponentWithErrorCount: number = 0;
181 _cachedComponentWithWarningCount: number = 0;
+ 110 more matches in this file
scripts/bench/benchmarks/pe-no-components/benchmark.js JAVASCRIPT 56 matches · showing 5 view file →
917 };
918
919 var ErrorBoundary9 = function (x) {
920 if (x === 9) {
921 return FluxContainer_AdsPEBIGAdAccountSelectorContainer_8(8);
· · ·
934 }
935 if (x === 57) {
936 return FluxContainer_AdsPETopErrorContainer_35(56);
937 }
938 if (x === 60) {
· · ·
968 };
969
970 var AdsErrorBoundary10 = function (x) {
971 if (x === 10) {
972 return ErrorBoundary9(9);
· · ·
972 return ErrorBoundary9(9);
973 }
974 if (x === 14) {
· · ·
975 return ErrorBoundary9(13);
976 }
977 if (x === 28) {
+ 51 more matches in this file
compiler/crates/react_compiler_inference/src/infer_mutation_aliasing_effects.rs RUST 55 matches · showing 5 view file →
9//!
10//! This pass uses abstract interpretation to compute effects describing
11//! creation, aliasing, mutation, freezing, and error conditions for each
12//! instruction and terminal in the HIR.
13
· · ·
17use react_compiler_diagnostics::CompilerDiagnostic;
18use react_compiler_diagnostics::CompilerDiagnosticDetail;
19use react_compiler_diagnostics::ErrorCategory;
20use react_compiler_hir::AliasingEffect;
21use react_compiler_hir::AliasingSignature;
· · ·
170 if iteration_count > 100 {
171 return Err(CompilerDiagnostic::new(
172 ErrorCategory::Invariant,
173 "[InferMutationAliasingEffects] Potential infinite loop: \
174 A value, temporary place, or effect was not cached properly",
· · ·
199 .unwrap_or_else(|| "".to_string());
200 // Use usage_loc if available, otherwise fall back to identifier's own loc
201 let error_loc = usage_loc.or_else(|| ident_info.and_then(|i| i.loc));
202 // Match TS printPlace format: "<unknown> name$id:type"
203 let type_str = ident_info
· · ·
209 let description = format!("<unknown> {}${}{}", name, uninitialized_id.0, type_str);
210 let diag = CompilerDiagnostic::new(
211 ErrorCategory::Invariant,
212 "[InferMutationAliasingEffects] Expected value kind to be initialized",
213 Some(description),
+ 50 more matches in this file
scripts/bench/benchmarks/pe-functional-components/benchmark.js JAVASCRIPT 57 matches · showing 5 view file →
922 };
923
924 var ErrorBoundary9 = function (props) {
925 if (props.x === 9) {
926 return React.createElement(
· · ·
946 }
947 if (props.x === 57) {
948 return React.createElement(FluxContainer_AdsPETopErrorContainer_35, {
949 x: 56,
950 });
· · ·
989 };
990
991 var AdsErrorBoundary10 = function (props) {
992 if (props.x === 10) {
993 return React.createElement(ErrorBoundary9, {x: 9});
· · ·
993 return React.createElement(ErrorBoundary9, {x: 9});
994 }
995 if (props.x === 14) {
· · ·
996 return React.createElement(ErrorBoundary9, {x: 13});
997 }
998 if (props.x === 28) {
+ 52 more matches in this file
packages/react-reconciler/src/ReactFiberHooks.js JAVASCRIPT 93 matches · showing 5 view file →
336 // Verify deps, but only on mount to avoid extra checks.
337 // It's unlikely their type would change as usually you define them inline.
338 console.error(
339 '%s received a final argument that is not an array (instead, received `%s`). When ' +
340 'specified, the final argument must be an array.',
· · ·
377 }
378
379 console.error(
380 'React has detected a change in the order of Hooks called by %s. ' +
381 'This will lead to bugs and errors if not fixed. ' +
· · ·
381 'This will lead to bugs and errors if not fixed. ' +
382 'For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n' +
383 ' Previous render Next render\n' +
· · ·
399 didWarnAboutUseFormState.add(componentName);
400
401 console.error(
402 'ReactDOM.useFormState has been renamed to React.useActionState. ' +
403 'Please update %s to use React.useActionState.',
· · ·
426 if (!didWarnAboutAsyncClientComponent.has(componentName)) {
427 didWarnAboutAsyncClientComponent.add(componentName);
428 console.error(
429 '%s is an async Client Component. ' +
430 'Only Server Components can be async at the moment. This error is often caused by accidentally ' +
+ 88 more matches in this file
packages/react-reconciler/src/ReactFiberPerformanceTrack.js JAVASCRIPT 87 matches · showing 5 view file →
252 ? 'tertiary-dark'
253 : 'primary-dark'
254 : 'error';
255
256 if (!__DEV__) {
· · ·
373}
374
375export function logComponentErrored(
376 fiber: Fiber,
377 startTime: number,
· · ·
378 endTime: number,
379 errors: Array<CapturedValue<mixed>>,
380): void {
381 if (supportsUserTiming) {
· · ·
388 let debugTask: ?ConsoleTask = null;
389 const properties: Array<[string, string]> = [];
390 for (let i = 0; i < errors.length; i++) {
391 const capturedValue = errors[i];
392 if (debugTask == null && capturedValue.source !== null) {
· · ·
391 const capturedValue = errors[i];
392 if (debugTask == null && capturedValue.source !== null) {
393 // If the captured value has a source Fiber, use its debugTask for
+ 82 more matches in this file
packages/react-server/src/ReactFlightReplyServer.js JAVASCRIPT 104 matches · showing 5 view file →
51 enqueueModel(json: string): void;
52 close(json: string): void;
53 error(error: Error): void;
54}
55
· · ·
66const RESOLVED_MODEL = 'resolved_model';
67const INITIALIZED = 'fulfilled';
68const ERRORED = 'rejected';
69
70const __PROTO__ = '__proto__';
· · ·
105 then(resolve: (ReadableStream) => mixed, reject?: (mixed) => mixed): void,
106};
107type ErroredChunk<T> = {
108 status: 'rejected',
109 value: null,
· · ·
116 | ResolvedModelChunk<T>
117 | InitializedChunk<T>
118 | ErroredChunk<T>;
119
120// $FlowFixMe[missing-this-annot]
· · ·
146 let inspectedValue = chunk.value;
147 // Recursively check if the value is itself a ReactPromise and if so if it points
148 // back to itself. This helps catch recursive thenables early error.
149 let cycleProtection = 0;
150 const visited = new Set<typeof ReactPromise>();
+ 99 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.