Exception: PictureHandler::Exceptions::InitError

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(uploader_name) ⇒ InitError

Returns a new instance of InitError.



29
30
31
# File 'lib/picture_handler/exceptions.rb', line 29

def initialize(uploader_name)
  @data = "The Uploader: \"#{uploader_name}\" have not been initialized."
end