Class: Aws::CodeGuruSecurity::Errors::InternalServerException
- Inherits:
- 
      ServiceError
      
        - Object
- ServiceError
- Aws::CodeGuruSecurity::Errors::InternalServerException
 
- Defined in:
- gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/errors.rb
Instance Method Summary collapse
- 
  
    
      #error  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
- 
  
    
      #initialize(context, message, data = Aws::EmptyStructure.new)  ⇒ InternalServerException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InternalServerException. 
- 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
- 
  
    
      #retryable?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
Returns a new instance of InternalServerException.
| 108 109 110 | # File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/errors.rb', line 108 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end | 
Instance Method Details
#error ⇒ String
| 113 114 115 | # File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/errors.rb', line 113 def error @data[:error] end | 
#message ⇒ String
| 118 119 120 | # File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/errors.rb', line 118 def @message || @data[:message] end | 
#retryable? ⇒ Boolean
| 122 123 124 | # File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/errors.rb', line 122 def retryable? true end |