Exception: Grizzled::FileUtil::BadDirectoryTreeValue

Inherits:
StandardError
  • Object
show all
Defined in:
lib/grizzled/fileutil.rb

Overview

Exception thrown for a bad directory tree value.

Instance Method Summary collapse

Constructor Details

#initialize(key, value) ⇒ BadDirectoryTreeValue

Returns a new instance of BadDirectoryTreeValue.



46
47
48
49
# File 'lib/grizzled/fileutil.rb', line 46

def initialize(key, value)
  super("Directory tree key '#{key}' has unsupported value '#{value}' " +
        "of type #{value.class}. Values must be hashes or strings.")
end