Skip to content

Commit 0aa20bf

Browse files
committed
Check in error codes
1 parent 23b2874 commit 0aa20bf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/error-codes/codes.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,5 +376,13 @@
376376
"385": "A mutable source was mutated while the %s component was rendering. This is not supported. Move any mutations into event handlers or effects.",
377377
"386": "The current renderer does not support microtasks. This error is likely caused by a bug in React. Please file an issue.",
378378
"387": "Should have a current fiber. This is a bug in React.",
379-
"388": "Expected to find a bailed out fiber. This is a bug in React."
379+
"388": "Expected to find a bailed out fiber. This is a bug in React.",
380+
"389": "There can only be one root segment. This is a bug in React.",
381+
"390": "Errored or already flushed boundaries should not be flushed again. This is a bug in React.",
382+
"391": "A previously unvisited boundary must have exactly one root segment. This is a bug in React.",
383+
"392": "A root segment ID must have been assigned by now. This is a bug in React.",
384+
"393": "Cache cannot be refreshed during server rendering.",
385+
"394": "startTransition cannot be called during server rendering.",
386+
"395": "An ID must have been assigned before we can complete the boundary.",
387+
"396": "More boundaries or placeholders than we expected to ever emit."
380388
}

0 commit comments

Comments
 (0)