GitHubProjectTemplateInUseError#

exception gafaelfawr.exceptions.GitHubProjectTemplateInUseError(message, count)#

Bases: InputValidationError

A GitHub project template cannot be deleted while projects use it.

Parameters:
  • message (str) – Error message.

  • count (int) – Number of projects provisioned from the template.

error: ClassVar[str] = 'template_in_use'#

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.