Major semver update and refactor
This commit is contained in:
18
semver/exceptions.py
Normal file
18
semver/exceptions.py
Normal file
@ -0,0 +1,18 @@
|
||||
class SemverException(Exception):
|
||||
"""Semver base exception"""
|
||||
pass
|
||||
|
||||
|
||||
class NoMergeFoundException(SemverException):
|
||||
"""No merge found in commit message"""
|
||||
pass
|
||||
|
||||
|
||||
class NotMainBranchException(SemverException):
|
||||
"""Not on main branch"""
|
||||
pass
|
||||
|
||||
|
||||
class NoGitFlowException(SemverException):
|
||||
"""No git flow branch found"""
|
||||
pass
|
Reference in New Issue
Block a user