Added the attempted value to the error message when trying to set a value not in the enumeration
Merge pull request #81 from unserwein/improve-error-message

Improved the error message for enumerated values