Class: Aws::Inspector::Errors::UnsupportedFeatureException

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) ⇒ UnsupportedFeatureException

Returns a new instance of UnsupportedFeatureException.

Parameters:



293
294
295
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 293

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

Instance Method Details

#can_retryString

Returns:

  • (String)


303
304
305
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 303

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


298
299
300
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 298

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