diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 28be4efa6b..0416dcfdf9 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -124,7 +124,7 @@ "122": "%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", "123": "ReactUpdates: must inject a reconcile transaction class and batching strategy", "124": "Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).", - "125": "ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched.", + "125": "ReactUpdates.asap: Can't enqueue an asap callback in a context where updates are not being batched.", "126": "ReactUpdates: must provide a reconcile transaction class", "127": "ReactUpdates: must provide a batching strategy", "128": "ReactUpdates: must provide a batchedUpdates() function", @@ -197,5 +197,29 @@ "195": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.", "196": "Missing injection for fiber getContextForSubtree", "197": "Injected invokeGuardedCallback() must be a function.", - "198": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue." + "198": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.", + "199": "Fiber owners should not show up in Stack stack traces.", + "200": "Target container is not a DOM element.", + "201": "ReactDOM.render(): Invalid component element. Instead of passing a string like 'div', pass React.createElement('div') or
.", + "202": "ReactDOM.render(): Invalid component element. Instead of passing a class like Foo, pass React.createElement(Foo) or .", + "203": "ReactDOM.render(): Invalid component element. This may be caused by unintentionally loading two independent copies of React.", + "204": "ReactDOM.render(): Invalid component element.", + "205": "renderToStream(): Invalid component element.", + "206": "renderToStaticStream(): Invalid component element.", + "207": "ReactDOMServer.renderToStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.", + "208": "ReactDOMServer.renderToStaticStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.", + "209": "renderToString(): Invalid component element.", + "210": "renderToStaticMarkup(): Invalid component element.", + "211": "Missing injection for fiber findDOMNode", + "212": "Missing injection for stack findDOMNode", + "213": "Element appears to be neither ReactComponent nor DOMNode. Keys: %s", + "214": "toTree() does not yet know how to handle nodes with tag=%s", + "215": "something went wrong", + "216": "Text children should already be flattened.", + "217": "ReactART does not support the type \"%s\"", + "218": "ReactART: Can not insert node before itself", + "219": "getInspectorDataForViewTag() is not available in production", + "220": "Container does not support insertBefore operation", + "221": "Tried to register two views with the same name %s", + "222": "View config not found for name %s" }