19 lines
351 B
Python
19 lines
351 B
Python
|
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
|