semantic_release.errors module#
Custom Errors
- exception semantic_release.errors.CommitParseError[source]#
Bases:
SemanticReleaseBaseError
Raised when a commit cannot be parsed by a commit parser. Custom commit parsers should also raise this Exception
- exception semantic_release.errors.InvalidConfiguration[source]#
Bases:
SemanticReleaseBaseError
Raised when configuration is deemed invalid
- exception semantic_release.errors.InvalidVersion[source]#
Bases:
ValueError
,SemanticReleaseBaseError
Raised when Version.parse attempts to parse a string containing an invalid version.
- exception semantic_release.errors.MissingMergeBaseError[source]#
Bases:
SemanticReleaseBaseError
Raised when the merge base cannot be found with the current history. Generally because of a shallow git clone.
- exception semantic_release.errors.NotAReleaseBranch[source]#
Bases:
InvalidConfiguration
Raised when semantic_release is invoked on a branch which isn’t configured for releases