GitHubProjectOverlapError#

exception gafaelfawr.exceptions.GitHubProjectOverlapError(message, project_id)#

Bases: InputValidationError

The constraints of a GitHub project overlap an existing project.

Raised when creating or modifying a GitHub project whose constraints could be satisfied by the same GitHub Actions ID token as an existing project for the same repository, since at most one project may match a token.

Parameters:
  • message (str) – Error message.

  • project_id (int) – ID of the conflicting project.

error: ClassVar[str] = 'github_project_overlap'#

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.