Exception: Clamp::ExecutionError
- Inherits:
- 
      RuntimeError
      
        - Object
- StandardError
- RuntimeError
- Clamp::ExecutionError
 
- Defined in:
- lib/clamp/errors.rb
Overview
raise to signal error during execution
Instance Attribute Summary collapse
- 
  
    
      #status  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute status. 
Attributes inherited from RuntimeError
Instance Method Summary collapse
- 
  
    
      #initialize(message, command, status = 1)  ⇒ ExecutionError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExecutionError. 
Constructor Details
#initialize(message, command, status = 1) ⇒ ExecutionError
Returns a new instance of ExecutionError.
| 32 33 34 35 | # File 'lib/clamp/errors.rb', line 32 def initialize(, command, status = 1) super(, command) @status = status end | 
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
| 37 38 39 | # File 'lib/clamp/errors.rb', line 37 def status @status end |