Skip to content

Commit

Permalink
Updates documentation on FromValue method to reference correct exce…
Browse files Browse the repository at this point in the history
…ption type (#549)

Co-authored-by: Steve Smith <[email protected]>
  • Loading branch information
ArmoryNode and ardalis authored Jan 15, 2025
1 parent c4e023f commit e92ff5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SmartEnum/SmartEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public static bool TryFromName(string name, bool ignoreCase, out TEnum result)
/// <param name="value">The value of the item to get.</param>
/// <returns>
/// The first item found that is associated with the specified value.
/// If the specified value is not found, throws a <see cref="KeyNotFoundException"/>.
/// If the specified value is not found, throws a <see cref="SmartEnumNotFoundException"/>.
/// </returns>
/// <exception cref="SmartEnumNotFoundException"><paramref name="value"/> does not exist.</exception>
/// <seealso cref="SmartEnum{TEnum, TValue}.FromValue(TValue, TEnum)"/>
Expand Down

0 comments on commit e92ff5d

Please sign in to comment.