Creates a validated CategoryName from a string.
The raw string value to validate
A branded CategoryName value
When validation fails (empty or exceeds 16 chars)
const name = makeCategoryName("Technology"); Copy
const name = makeCategoryName("Technology");
Creates a validated CategoryName from a string.