Skip to content

Commit

Permalink
Extract error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidblurton committed Jan 28, 2017
1 parent 916a82f commit e50e618
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion scripts/error-codes/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,28 @@
"140": "Expected hook events to fire for the child before its parent includes it in onSetChildren().",
"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."
"143": "React.Children.only expected to receive a single React element child.",
"144": "Item must have been set",
"145": "React.PropTypes type checking code is stripped in production.",
"146": "render(): Invalid component element.",
"147": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers.",
"148": "Missing injection for fiber findDOMNode",
"149": "Missing injection for stack findDOMNode",
"150": "Unable to find node on an unmounted component.",
"151": "Missing owner for string ref %s",
"152": "%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",
"153": "Unexpected context found on stack",
"154": "Expected to have an instance by this point.",
"155": "Expected subtree parent to be a mounted class component",
"156": "Found unexpected detached subtree parent",
"157": "Return fibers should always be each others' alternates.",
"158": "Missing injection for fiber getContextForSubtree",
"159": "%s(...) must return a valid React element (or null). You returned %s.",
"160": "%s.render() must return a valid React element (or null). You returned %s.",
"161": "Fiber needs to be injected to handle a fiber target for controlled events.",
"162": "The internal instance must be a React host component.",
"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."
}

0 comments on commit e50e618

Please sign in to comment.