InvalidGitHubUsernameError#

exception gafaelfawr.exceptions.InvalidGitHubUsernameError(message)#

Bases: InputValidationError

The bot username of a GitHub project is invalid.

Raised when the username derived from the repository of a GitHub project is not a valid username, in which case an explicit username must be provided instead.

Parameters:

message (str)

error: ClassVar[str] = 'invalid_username'#

Used as the type field of the error message.

Should be overridden by any subclass.