Class: Aws::Lambda::Errors::ServiceException
- Inherits:
 - 
      ServiceError
      
        
- Object
 - ServiceError
 - Aws::Lambda::Errors::ServiceException
 
 
- Defined in:
 - lib/aws-sdk-lambda/errors.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(context, message, data = Aws::EmptyStructure.new)  ⇒ ServiceException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ServiceException.
 - #message ⇒ String
 - #type ⇒ String
 
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceException
Returns a new instance of ServiceException.
      705 706 707  | 
    
      # File 'lib/aws-sdk-lambda/errors.rb', line 705 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end  | 
  
Instance Method Details
#message ⇒ String
      715 716 717  | 
    
      # File 'lib/aws-sdk-lambda/errors.rb', line 715 def @message || @data[:message] end  | 
  
#type ⇒ String
      710 711 712  | 
    
      # File 'lib/aws-sdk-lambda/errors.rb', line 710 def type @data[:type] end  |