class Chef::ChefFS::FileSystem::FileSystemError

Attributes

cause[R]

The wrapped exception (if any).

entry[R]

The entry which had an issue.

reason[R]

A string describing why this exception happened.

Public Class Methods

new(entry, cause = nil, reason = nil) click to toggle source

@param entry The entry which had an issue. @param cause The wrapped exception (if any). @param reason A string describing why this exception happened.

Calls superclass method
# File lib/chef/chef_fs/file_system/exceptions.rb, line 26
def initialize(entry, cause = nil, reason = nil)
  super(reason)
  @entry = entry
  @cause = cause
  @reason = reason
end