Exception: ActiveInteractor::Error
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- ActiveInteractor::Error
 
- Defined in:
- lib/active_interactor/errors.rb
Instance Attribute Summary collapse
- 
  
    
      #result  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute result. 
Instance Method Summary collapse
- 
  
    
      #initialize(result, message = nil)  ⇒ Error 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Error. 
Constructor Details
#initialize(result, message = nil) ⇒ Error
Returns a new instance of Error.
| 7 8 9 10 | # File 'lib/active_interactor/errors.rb', line 7 def initialize(result, = nil) @result = result super() end | 
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
| 5 6 7 | # File 'lib/active_interactor/errors.rb', line 5 def result @result end |