Exception: Versi::Errors::CannotGenerateCommandVersionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/versi/errors/cannot_generate_version_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(release_type) ⇒ CannotGenerateCommandVersionError

Returns a new instance of CannotGenerateCommandVersionError.



4
5
6
7
# File 'lib/versi/errors/cannot_generate_version_error.rb', line 4

def initialize(release_type)
  super("Cannot generate '#{release_type}' release of a project that don't use Semantic Versioning." \
      + " You have two options: Use Semantic Versioning or type your own release name")
end