Skip to content

Commit

Permalink
Newly found error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Oct 6, 2021
1 parent 3fb84e7 commit 14baae3
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion scripts/error-codes/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,5 +401,68 @@
"413": "Expected finished root and lanes to be set. This is a bug in React.",
"414": "Did not expect this call in production. This is a bug in React. Please file an issue.",
"415": "Error parsing the data. It's probably an error code or network corruption.",
"416": "This environment don't support binary chunks."
"416": "This environment don't support binary chunks.",
"417": "%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.",
"418": "Unsupported option",
"419": "This entry point is not yet supported in the browser environment",
"420": "The flag option is not supported, and always defaults to \"r\".",
"421": "The signal option is not supported.",
"422": "Expected resolveFamily to be set during hot reload.",
"423": "Did not expect findHostInstancesForRefresh to be called in production.",
"424": "Expected to reach root first.",
"425": "Simulated error coming from DevTools",
"426": "Cannot swap the root fiber.",
"427": "Expected parent to have a child.",
"428": "Expected to find the previous sibling.",
"429": "Error message",
"430": "An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.",
"431": "A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.",
"432": "Did not find exactly one match (found: %s) for class:%s",
"433": "Did not find exactly one match (found: %s) for tag:%s",
"434": "Did not find exactly one match (found: %s) for componentType:%s",
"435": "failed to set property",
"436": "\"%s\" is read-only",
"437": "Class \"%s\" cannot be referenced in computed property keys.",
"438": "Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.",
"439": "%s",
"440": "Should never be called",
"441": "Dynamic requires are not currently supported by rollup-plugin-commonjs",
"442": "You must require a mode before requiring anything else.",
"443": "Bad input",
"444": "Not yet implemented.",
"445": "Not yet implemented",
"446": "Unexpected node type in toJSON: %s",
"447": "%s%s",
"448": "Can't access .root on unmounted test renderer",
"449": "TestRenderer does not support findFiberByHostInstance()",
"450": "Reparenting is not allowed",
"451": "appendChildToContainer() first argument is not a container.",
"452": "appendChild() first argument is not an instance.",
"453": "This child does not exist.",
"454": "insertInContainerBefore() first argument is not a container.",
"455": "insertBefore() first argument is not an instance.",
"456": "removeChildFromContainer() first argument is not a container.",
"457": "removeChild() first argument is not an instance.",
"458": "Error in host config.",
"459": "Should have old props",
"460": "Should have new props",
"461": "Error when completing root",
"462": "Segments are only expected at the root of the stack.",
"463": "Missing segment.",
"464": "Missing placeholder.",
"465": "Unknown Fiber. Needs to be a function component to inspect hooks.",
"466": "react-cache: read and preload may only be called from within a component's render. They are not supported in event handlers or lifecycle methods.",
"467": "Cannot reset while already flushing work.",
"468": "Already flushing work.",
"469": "Log is not empty. Assert on the log of yielded values before flushing additional work.",
"470": "While flushing work, something yielded a value. Use an assertion helper to assert on the log of yielded values, e.g. expect(Scheduler).toFlushAndYield([...])",
"471": "Log of yielded values is not empty. Call expect(ReactTestRenderer).unstable_toHaveYielded(...) first.",
"472": "This version of `act` requires a special mock build of Scheduler.",
"473": "This version of `act` requires Jest's timer mocks (i.e. jest.useFakeTimers).",
"474": "Unknown case.",
"475": "Unsupported node type: %s",
"476": "React Refresh Babel transform should only be enabled in development environment. Instead, the environment is: \"%s\". If you want to override this check, pass {skipEnvCheck: true} as plugin options.",
"477": "React Refresh runtime should not be included in the production bundle.",
"478": "Unexpected call to React Refresh in a production environment.",
"479": "Could not find helpers for a root. This is a bug in React Refresh."
}

0 comments on commit 14baae3

Please sign in to comment.