channels
channels copied to clipboard
improve group_name and channel_name validation error message(#1229)
This is to include the maximum length in the error message when validating group and channels names.
Also found that invalid_name_error is defined but never used. This PR also utilizes that to format error messages.
Some tests were added.
Closes #1229.
Hi @carltongibson and @jpic, Sorry for the delay and thanks for the review and suggestions. I do plan to finish this PR by the end of tomorrow (eastern time)
This needs to be rebased after #1792
This needs to be rebased after #1792
Thanks for the reminder, I've rebased the changes on top of the latest main. I've also noticed that the current error message is missing a .format() call, and would throw TypeError: 'str' object is not callable