Exception: Chef::ChefFS::FileSystem::OperationFailedError
- Inherits:
-
FileSystemError
- Object
- StandardError
- FileSystemError
- Chef::ChefFS::FileSystem::OperationFailedError
- Defined in:
- lib/chef/chef_fs/file_system/operation_failed_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
Attributes inherited from FileSystemError
Instance Method Summary collapse
-
#initialize(operation, entry, cause = nil) ⇒ OperationFailedError
constructor
A new instance of OperationFailedError.
- #message ⇒ Object
Constructor Details
#initialize(operation, entry, cause = nil) ⇒ OperationFailedError
Returns a new instance of OperationFailedError.
25 26 27 28 |
# File 'lib/chef/chef_fs/file_system/operation_failed_error.rb', line 25 def initialize(operation, entry, cause = nil) super(entry, cause) @operation = operation end |
Instance Attribute Details
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
38 39 40 |
# File 'lib/chef/chef_fs/file_system/operation_failed_error.rb', line 38 def operation @operation end |