Exception: PictureHandler::Exceptions::CustomError

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(error_description) ⇒ CustomError

Returns a new instance of CustomError.



17
18
19
# File 'lib/picture_handler/exceptions.rb', line 17

def initialize(error_description)
  @data = "#{error_description}"
end