Class: Aws::Inspector::Errors::InternalException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalException

Returns a new instance of InternalException.

Parameters:



138
139
140
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 138

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#can_retryString

Returns:

  • (String)


148
149
150
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 148

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


143
144
145
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 143

def message
  @message || @data[:message]
end