Exception: Glossarist::Errors::CacheVersionMismatchError

Inherits:
Base
  • Object
show all
Defined in:
lib/glossarist/errors/cache_version_mismatch_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(cache_dir, expected, actual) ⇒ CacheVersionMismatchError

Returns a new instance of CacheVersionMismatchError.



6
7
8
9
# File 'lib/glossarist/errors/cache_version_mismatch_error.rb', line 6

def initialize(cache_dir, expected, actual)
  super("Relaton cache version mismatch in '#{cache_dir}': " \
        "expected '#{expected}', got '#{actual}'")
end