Exception: Gemstash::Resource::VersionTooNew

Inherits:
StandardError
  • Object
show all
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

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