Exception: Glossarist::CacheVersionMismatchError

Inherits:
Error
  • Object
show all
Defined in:
lib/glossarist/error/cache_version_mismatch_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(cache_dir, expected, actual) ⇒ CacheVersionMismatchError

Returns a new instance of CacheVersionMismatchError.



3
4
5
6
# File 'lib/glossarist/error/cache_version_mismatch_error.rb', line 3

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