Exception: PictureHandler::Exceptions::VersionError
- Inherits:
-
CustomMessage
- Object
- StandardError
- CustomMessage
- PictureHandler::Exceptions::VersionError
- Defined in:
- lib/picture_handler/exceptions.rb
Instance Method Summary collapse
-
#initialize(version_name) ⇒ VersionError
constructor
A new instance of VersionError.
Methods inherited from CustomMessage
Constructor Details
#initialize(version_name) ⇒ VersionError
Returns a new instance of VersionError.
23 24 25 |
# File 'lib/picture_handler/exceptions.rb', line 23 def initialize(version_name) @data = "The Version: \"#{version_name}\" is use as a FROM but doesn't exist." end |