Class: Aws::Inspector::Errors::NoSuchEntityException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Inspector::Errors::NoSuchEntityException
- Defined in:
- gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb
Instance Method Summary collapse
-
#can_retry ⇒ String
-
#error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchEntityException
constructor
A new instance of NoSuchEntityException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchEntityException
Returns a new instance of NoSuchEntityException.
233 234 235 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 233 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#can_retry ⇒ String
248 249 250 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 248 def can_retry @data[:can_retry] end |
#error_code ⇒ String
243 244 245 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 243 def error_code @data[:error_code] end |
#message ⇒ String
238 239 240 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 238 def @message || @data[:message] end |