Have the compiler throw an exception if an enum code property has no values
Have the compiler throw an exception if an enum code property has no values

Summary: If an enum is used in the type of an exception code property, it must have values.

Differential Revision: D8295609

fbshipit-source-id: bc5ced4805ca079c9ffa819cb79decc9fc7d4e99

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift