diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 20d2cf833e3bc..e3ba378b2459c 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -165,5 +165,39 @@ "163": "Container does not support insertBefore operation", "164": "Tried to register two views with the same name %s", "165": "View config not found for name %s", - "166": "getPublicInstance should not be called before component is mounted." + "166": "getPublicInstance should not be called before component is mounted.", + "167": "ReactDOM.render(): Invalid component element. Instead of passing a string like 'div', pass React.createElement('div') or
.", + "168": "ReactDOM.render(): Invalid component element. Instead of passing a class like Foo, pass React.createElement(Foo) or .", + "169": "ReactDOM.render(): Invalid component element. This may be caused by unintentionally loading two independent copies of React.", + "170": "ReactDOM.render(): Invalid component element.", + "171": "Element appears to be neither ReactComponent nor DOMNode. Keys: %s", + "172": "Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.", + "173": "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.", + "174": "An iterable object provided no iterator.", + "175": "We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.", + "176": "An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.", + "177": "Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.", + "178": "Invalid type of work. This error is likely caused by a bug in React. Please file an issue.", + "179": "There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.", + "180": "There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.", + "181": "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.", + "182": "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.", + "183": "This should only be done during updates. This error is likely caused by a bug in React. Please file an issue.", + "184": "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.", + "185": "A coroutine cannot have host component children.", + "186": "Should be resolved by now. This error is likely caused by a bug in React. Please file an issue.", + "187": "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.", + "188": "An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.", + "189": "Expected root container to exist. This error is likely caused by a bug in React. Please file an issue.", + "190": "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.", + "191": "Expected root host context to exist. This error is likely caused by a bug in React. Please file an issue.", + "192": "Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.", + "193": "Should have next effect. This error is likely caused by a bug in React. Please file an issue.", + "194": "performWork was called recursively. This error is likely caused by a bug in React. Please file an issue.", + "195": "Cannot perform deferred work without a deadline. This error is likely caused by a bug in React. Please file an issue.", + "196": "No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.", + "197": "Child was not found in either parent set. This indicates a bug related to the return pointer.", + "198": "Invalid argument passed as callback. Expected a function. Instead received: %s", + "199": "toTree() does not yet know how to handle nodes with tag=%s", + "200": "something went wrong" }