Implemented the AgentNameValidationRule type in the library target.

This commit is contained in:
2025-10-13 00:01:22 +02:00
parent cd157bc3c3
commit b13e139237
3 changed files with 110 additions and 0 deletions
@@ -18,6 +18,8 @@ enum InputValidationError: Error {
case inputIsEmpty
/// An input is nil.
case inputIsNil
/// An input does not comply with the user agent name requirements.
case inputNotAgentName
/// An input does not comply with the consumer key requirements.
case inputNotConsumerKey
/// An input does not comply with the consumer secret requirements.