Exception: ChatWork::APIError
- Inherits:
 - 
      ChatWorkError
      
        
- Object
 - StandardError
 - ChatWorkError
 - ChatWork::APIError
 
 
- Defined in:
 - lib/chatwork/chatwork_error.rb
 
Instance Attribute Summary collapse
- 
  
    
      #errors  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute errors.
 
Attributes inherited from ChatWorkError
Instance Method Summary collapse
- 
  
    
      #initialize(status, error_response)  ⇒ APIError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of APIError.
 
Methods inherited from ChatWorkError
Constructor Details
#initialize(status, error_response) ⇒ APIError
Returns a new instance of APIError.
      54 55 56 57  | 
    
      # File 'lib/chatwork/chatwork_error.rb', line 54 def initialize(status, error_response) @errors = error_response super(error_response[0], status, error_response) end  | 
  
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
      52 53 54  | 
    
      # File 'lib/chatwork/chatwork_error.rb', line 52 def errors @errors end  |