[ReactDebugTools] add custom error type for future new hooks (#24168)
[ReactDebugTools] add custom error type for future new hooks (#24168)

* [ReactDebugTools] add custom error type for future new hooks

* update per review comments

* remove unused argument
camsong/react,facebook/react,yungsters/react,yungsters/react,facebook/react,camsong/react,camsong/react,facebook/react,yungsters/react,yungsters/react,facebook/react,camsong/react,camsong/react,facebook/react,camsong/react,yungsters/react,facebook/react,facebook/react,yungsters/react,yungsters/react,camsong/react