Humanizer.OnNoMatch.md

August 3, 2026 ยท View on GitHub

OnNoMatch Enum

Dictating what should be done when a match is not found - currently used only for DehumanizeTo

public enum OnNoMatch

Fields

ThrowsException 0

This is the default behavior which throws a NoMatchFoundException

ReturnsNull 1

If set to ReturnsNull the method returns null instead of throwing an exception