Exception: ThorSCMVersion::TagFormatError
- Inherits:
-
SCMVersionError
- Object
- StandardError
- SCMVersionError
- ThorSCMVersion::TagFormatError
- Defined in:
- lib/thor-scmversion/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(tag) ⇒ TagFormatError
constructor
A new instance of TagFormatError.
- #to_s ⇒ Object
Methods inherited from SCMVersionError
Constructor Details
#initialize(tag) ⇒ TagFormatError
Returns a new instance of TagFormatError.
20 |
# File 'lib/thor-scmversion/errors.rb', line 20 def initialize(tag); @tag = tag; end |
Instance Method Details
#to_s ⇒ Object
21 |
# File 'lib/thor-scmversion/errors.rb', line 21 def to_s; "#{@tag.inspect} is formatted incorrectly."; end |