Exception: PictureHandler::Exceptions::WriteError

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(path) ⇒ WriteError

Returns a new instance of WriteError.



53
54
55
# File 'lib/picture_handler/exceptions.rb', line 53

def initialize(path)
  @data = "The image could not be write at \"#{path}\" path."
end