Exception: ThorSCMVersion::GitTagDuplicateError
- Inherits:
-
GitError
- Object
- StandardError
- SCMVersionError
- GitError
- ThorSCMVersion::GitTagDuplicateError
- Defined in:
- lib/thor-scmversion/errors.rb
Instance Method Summary collapse
-
#initialize(tag) ⇒ GitTagDuplicateError
constructor
A new instance of GitTagDuplicateError.
- #to_s ⇒ Object
Methods inherited from SCMVersionError
Constructor Details
#initialize(tag) ⇒ GitTagDuplicateError
Returns a new instance of GitTagDuplicateError.
30 31 32 |
# File 'lib/thor-scmversion/errors.rb', line 30 def initialize(tag) @tag = tag end |
Instance Method Details
#to_s ⇒ Object
34 35 36 |
# File 'lib/thor-scmversion/errors.rb', line 34 def to_s msg = "Tried to tag #{@tag}, but it already exists! Either build from the latest tag at this bump level or choose a lower order bump level." end |