Exception: PictureHandler::Exceptions::WriteError
- Inherits:
-
CustomMessage
- Object
- StandardError
- CustomMessage
- PictureHandler::Exceptions::WriteError
- Defined in:
- lib/picture_handler/exceptions.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ WriteError
constructor
A new instance of WriteError.
Methods inherited from CustomMessage
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 |