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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entry, cause = nil) ⇒ FileSystemError

Returns a new instance of FileSystemError.



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

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

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



29
30
31
# File 'lib/chef/chef_fs/file_system/file_system_error.rb', line 29

def cause
  @cause
end

#entryObject (readonly)

Returns the value of attribute entry.



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

def entry
  @entry
end