Exception: ChefApply::WrappedError
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- ChefApply::WrappedError
 
- Defined in:
- lib/chef_apply/error.rb
Instance Attribute Summary collapse
- 
  
    
      #contained_exception  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute contained_exception. 
- 
  
    
      #target_host  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute target_host. 
Instance Method Summary collapse
- 
  
    
      #initialize(e, target_host)  ⇒ WrappedError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WrappedError. 
Constructor Details
#initialize(e, target_host) ⇒ WrappedError
Returns a new instance of WrappedError.
| 50 51 52 53 54 | # File 'lib/chef_apply/error.rb', line 50 def initialize(e, target_host) super(e.) @contained_exception = e @target_host = target_host end | 
Instance Attribute Details
#contained_exception ⇒ Object
Returns the value of attribute contained_exception.
| 49 50 51 | # File 'lib/chef_apply/error.rb', line 49 def contained_exception @contained_exception end | 
#target_host ⇒ Object
Returns the value of attribute target_host.
| 49 50 51 | # File 'lib/chef_apply/error.rb', line 49 def target_host @target_host end |