Exception: Chef::ChefFS::FileSystem::FileSystemError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef/chef_fs/file_system/file_system_error.rb

Direct Known Subclasses

MustDeleteRecursivelyError, NotFoundError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cause = nil) ⇒ FileSystemError

Returns a new instance of FileSystemError.



23
24
25
# File 'lib/chef/chef_fs/file_system/file_system_error.rb', line 23

def initialize(cause = nil)
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



27
28
29
# File 'lib/chef/chef_fs/file_system/file_system_error.rb', line 27

def cause
  @cause
end