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.



98
99
100
101
102
# File 'lib/gemstash/storage.rb', line 98

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