Exception: Gemstash::Resource::VersionTooNew
- Inherits:
-
StandardError
- Object
- StandardError
- Gemstash::Resource::VersionTooNew
- Defined in:
- lib/gemstash/storage.rb
Overview
If the storage engine detects a resource was originally saved from a newer version, this error is thrown.
Instance Method Summary collapse
-
#initialize(name, folder, version) ⇒ VersionTooNew
constructor
A new instance of VersionTooNew.
Constructor Details
#initialize(name, folder, version) ⇒ VersionTooNew
Returns a new instance of VersionTooNew.
95 96 97 98 99 |
# File 'lib/gemstash/storage.rb', line 95 def initialize(name, folder, version) super("Gemstash resource version #{Gemstash::Resource::VERSION} does " \ "not support version #{version} for resource #{name.inspect} " \ "found at #{folder}") end |