DuplicateGitHubUsernameError#

exception gafaelfawr.exceptions.DuplicateGitHubUsernameError(message)#

Bases: InputValidationError

The derived bot username of a GitHub project is already in use.

Raised when the bot username derived from the repository of a GitHub project is already used by a project for a different repository, since the derivation is ambiguous once hyphens are involved. An explicit username must be provided instead.

Parameters:

message (str)

error: ClassVar[str] = 'duplicate_username'#

Used as the type field of the error message.

Should be overridden by any subclass.

status_code: ClassVar[int] = 409#

HTTP status code for this type of validation error.