Exception: Chef::ChefFS::FileSystem::FileSystemError
- Defined in:
- lib/chef/chef_fs/file_system/file_system_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause = nil) ⇒ FileSystemError
constructor
A new instance of FileSystemError.
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
#cause ⇒ Object (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 |