Exception: PictureHandler::Exceptions::VersionError

Inherits:
CustomMessage
  • Object
show all
Defined in:
lib/picture_handler/exceptions.rb

Instance Method Summary collapse

Methods inherited from CustomMessage

#message, #orig_to_s, #to_s

Constructor Details

#initialize(version_name) ⇒ VersionError

Returns a new instance of VersionError.



23
24
25
# File 'lib/picture_handler/exceptions.rb', line 23

def initialize(version_name)
  @data = "The Version: \"#{version_name}\" is use as a FROM but doesn't exist."
end