Exception: PictureHandler::Exceptions::OpenError
- Inherits:
-
CustomMessage
- Object
- StandardError
- CustomMessage
- PictureHandler::Exceptions::OpenError
- Defined in:
- lib/picture_handler/exceptions.rb
Instance Method Summary collapse
-
#initialize(source) ⇒ OpenError
constructor
A new instance of OpenError.
Methods inherited from CustomMessage
Constructor Details
#initialize(source) ⇒ OpenError
Returns a new instance of OpenError.
47 48 49 |
# File 'lib/picture_handler/exceptions.rb', line 47 def initialize(source) @data = "The image at source: \"#{source}\" could not be open." end |