Exception: ThorSCMVersion::TagFormatError

Inherits:
SCMVersionError show all
Defined in:
lib/thor-scmversion/errors.rb

Direct Known Subclasses

InvalidPrereleaseFormatError

Instance Method Summary collapse

Methods inherited from SCMVersionError

status_code

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_sObject



21
# File 'lib/thor-scmversion/errors.rb', line 21

def to_s; "#{@tag.inspect} is formatted incorrectly."; end