Class: Aws::Inspector::Errors::UnsupportedFeatureException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Inspector::Errors::UnsupportedFeatureException
- Defined in:
- lib/aws-sdk-inspector/errors.rb
Instance Method Summary collapse
- #can_retry ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedFeatureException
constructor
A new instance of UnsupportedFeatureException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedFeatureException
Returns a new instance of UnsupportedFeatureException.
293 294 295 |
# File 'lib/aws-sdk-inspector/errors.rb', line 293 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#can_retry ⇒ String
303 304 305 |
# File 'lib/aws-sdk-inspector/errors.rb', line 303 def can_retry @data[:can_retry] end |
#message ⇒ String
298 299 300 |
# File 'lib/aws-sdk-inspector/errors.rb', line 298 def @message || @data[:message] end |