added another point of failure

This commit is contained in:
Karma Riuk
2025-05-21 10:59:07 +02:00
parent 5734ca5c8d
commit e619d2f339
2 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,12 @@ class NoLinesForCommentError(SetupException):
reason_for_failure = "There are no line reference for the comment"
class CommentedFileNotInOriginalChanges(SetupException):
reason_for_failure = (
"Commented file is not part of the original PR (most like due to a merge of another branch)"
)
class CantCloneRepoError(SetupException):
reason_for_failure = "Couldn't clone the repository"