@samitouri / QOS-React / commits / 52849c94a7

Updated error codes (after merging in missing code from 15 stable) (#10290)

Brian Vaughn committed Jul 26, 2017 at 12:18 UTC 52849c94a732bae67541e0f6f8ff7f5943372a6c
1 file changed +55 -54
scripts/error-codes/codes.json
+55 -54
@@ -143,58 +143,59 @@
143 "141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().",
144 "142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",
145 "143": "React.Children.only expected to receive a single React element child.",
146 - "144": "React.PropTypes type checking code is stripped in production.",
147 - "145": "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.",
148 - "146": "Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",
149 - "147": "Expected ref to be a function or a string.",
150 - "148": "Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",
151 - "149": "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.",
152 - "150": "An iterable object provided no iterator.",
153 - "151": "%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",
154 - "152": "Resuming work not yet implemented.",
155 - "153": "We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.",
156 - "154": "An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.",
157 - "155": "Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.",
158 - "156": "Invalid type of work. This error is likely caused by a bug in React. Please file an issue.",
159 - "157": "There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.",
160 - "158": "There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.",
161 - "159": "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.",
162 - "160": "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.",
163 - "161": "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.",
164 - "162": "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.",
165 - "163": "A coroutine cannot have host component children.",
166 - "164": "Should be resolved by now. This error is likely caused by a bug in React. Please file an issue.",
167 - "165": "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.",
168 - "166": "An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.",
169 - "167": "Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.",
170 - "168": "Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.",
171 - "169": "Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.",
172 - "170": "Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.",
173 - "171": "The custom dialog was already injected.",
174 - "172": "Injected showDialog() must be a function.",
175 - "173": "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.",
176 - "174": "Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
177 - "175": "Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
178 - "176": "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.",
179 - "177": "Should have next effect. This error is likely caused by a bug in React. Please file an issue.",
180 - "178": "Should have a pending commit. This error is likely caused by a bug in React. Please file an issue.",
181 - "179": "Commit phase errors should be scheduled to recover with task priority. This error is likely caused by a bug in React. Please file an issue.",
182 - "180": "Switch statement should be exhuastive. This error is likely caused by a bug in React. Please file an issue.",
183 - "181": "performWork was called recursively. This error is likely caused by a bug in React. Please file an issue.",
184 - "182": "Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue.",
185 - "183": "No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.",
186 - "184": "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.",
187 - "185": "Task updates can only be scheduled as a nested update or inside batchedUpdates.",
188 - "186": "flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.",
189 - "187": "Unable to find node on an unmounted component.",
190 - "188": "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.",
191 - "189": "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.",
192 - "190": "Invalid argument passed as callback. Expected a function. Instead received: %s",
193 - "191": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers.",
194 - "192": "The server renderer does not implement support for array children yet.",
195 - "193": "Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.",
196 - "194": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.",
197 - "195": "Missing injection for fiber getContextForSubtree",
198 - "196": "Injected invokeGuardedCallback() must be a function.",
199 - "197": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue."
146 + "144": "Item must have been set",
147 + "145": "hostContainerInfo should be populated before getPublicInstance is called.",
148 + "146": "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.",
149 + "147": "Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",
150 + "148": "Expected ref to be a function or a string.",
151 + "149": "Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",
152 + "150": "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.",
153 + "151": "An iterable object provided no iterator.",
154 + "152": "%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",
155 + "153": "Resuming work not yet implemented.",
156 + "154": "We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.",
157 + "155": "An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.",
158 + "156": "Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.",
159 + "157": "Invalid type of work. This error is likely caused by a bug in React. Please file an issue.",
160 + "158": "There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.",
161 + "159": "There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.",
162 + "160": "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.",
163 + "161": "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.",
164 + "162": "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.",
165 + "163": "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.",
166 + "164": "A coroutine cannot have host component children.",
167 + "165": "Should be resolved by now. This error is likely caused by a bug in React. Please file an issue.",
168 + "166": "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.",
169 + "167": "An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.",
170 + "168": "Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.",
171 + "169": "Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.",
172 + "170": "Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.",
173 + "171": "Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.",
174 + "172": "The custom dialog was already injected.",
175 + "173": "Injected showDialog() must be a function.",
176 + "174": "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.",
177 + "175": "Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
178 + "176": "Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
179 + "177": "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.",
180 + "178": "Should have next effect. This error is likely caused by a bug in React. Please file an issue.",
181 + "179": "Should have a pending commit. This error is likely caused by a bug in React. Please file an issue.",
182 + "180": "Commit phase errors should be scheduled to recover with task priority. This error is likely caused by a bug in React. Please file an issue.",
183 + "181": "Switch statement should be exhuastive. This error is likely caused by a bug in React. Please file an issue.",
184 + "182": "performWork was called recursively. This error is likely caused by a bug in React. Please file an issue.",
185 + "183": "Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue.",
186 + "184": "No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.",
187 + "185": "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.",
188 + "186": "Task updates can only be scheduled as a nested update or inside batchedUpdates.",
189 + "187": "flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.",
190 + "188": "Unable to find node on an unmounted component.",
191 + "189": "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.",
192 + "190": "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.",
193 + "191": "Invalid argument passed as callback. Expected a function. Instead received: %s",
194 + "192": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers.",
195 + "193": "The server renderer does not implement support for array children yet.",
196 + "194": "Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.",
197 + "195": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.",
198 + "196": "Missing injection for fiber getContextForSubtree",
199 + "197": "Injected invokeGuardedCallback() must be a function.",
200 + "198": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue."
201 }