Exception: Braid::Operations::LocalCacheDirBroken

Inherits:
BraidError
  • Object
show all
Defined in:
lib/braid/operations.rb

Instance Method Summary collapse

Constructor Details

#initialize(dir) ⇒ LocalCacheDirBroken

Returns a new instance of LocalCacheDirBroken.



38
39
40
# File 'lib/braid/operations.rb', line 38

def initialize(dir)
  @dir = dir
end

Instance Method Details

#messageObject



42
43
44
# File 'lib/braid/operations.rb', line 42

def message
  "Local cache '#{@dir}' needs to be recreated. Remove the directory and run the command again."
end