Let's actually ensure that the right error is thrown. I know we don't do that across the board but we're trying to move in that direction. You can see how that works throughout https://github.com/facebook/react/blob/master/src/core/__tests__/ReactPropTypes-test.js