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

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