find 'issue_closed_status_id' by its name

This commit is contained in:
Marc Michalsky 2021-11-04 17:14:14 +01:00
parent c93fc9f959
commit bb461aefaf
3 changed files with 24 additions and 1 deletions

6
exceptions.py Normal file
View file

@ -0,0 +1,6 @@
class IssueStatusNotFoundException(Exception):
def __init__(self, status_name: str):
self.status_name = status_name
def __str__(self):
return f"No issue status with the name \"{self.status_name}\" could be found. Please check your config.yaml."