FromValue documentation specifies that the wrong exception is thrown
Asafima opened this issue · 0 comments
Asafima commented
In FromValue method, documentation says KeyNotFoundException is thrown if the value is not found,
whereas source code actually shows a more specific exception is thrown.
Documentation should specify that a SmartEnumNotFoundException is thrown.
Source code:
SmartEnum/src/SmartEnum/SmartEnum.cs
Line 216 in c3f8e56