bumpversion.exceptions
Custom exceptions for BumpVersion.
BumpVersionError
python
class BumpVersionError(message: str, ctx: Optional[Context] = None)Custom base class for all BumpVersion exception types.
FormattingError
python
class FormattingError()We are unable to represent a version required by a format.
MissingValueError
python
class MissingValueError()A part required for a version format is empty.
DirtyWorkingDirectoryError
python
class DirtyWorkingDirectoryError()The working directory is dirty, and it is not allowed.
SignedTagsError
python
class SignedTagsError()The VCS does not support signed tags.
VersionNotFoundError
python
class VersionNotFoundError()A version number was not found in a source file.
InvalidVersionPartError
python
class InvalidVersionPartError()The specified part (e.g. 'bugfix') was not found.
ConfigurationError
python
class ConfigurationError()A configuration key-value is missing or in the wrong type.
BadInputError
python
class BadInputError()User input was bad.
HookError
python
class HookError()A hook failed.