GitHubRepositoryNotAllowedError#

exception gafaelfawr.exceptions.GitHubRepositoryNotAllowedError(message)#

Bases: InputValidationError

A repository may not be provisioned from a GitHub project template.

Raised when the owner of the repository is not one of the owners allowed by the template, by name and pinned ID, or the repository name does not match the template’s repository pattern.

Parameters:

message (str)

error: ClassVar[str] = 'repository_not_allowed'#

Used as the type field of the error message.

Should be overridden by any subclass.