Class: Aws::Chime::Errors::NotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Chime::Errors::NotFoundException
- Defined in:
- lib/aws-sdk-chime/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
constructor
A new instance of NotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
Returns a new instance of NotFoundException.
133 134 135 |
# File 'lib/aws-sdk-chime/errors.rb', line 133 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
138 139 140 |
# File 'lib/aws-sdk-chime/errors.rb', line 138 def code @code || @data[:code] end |
#message ⇒ String
143 144 145 |
# File 'lib/aws-sdk-chime/errors.rb', line 143 def @message || @data[:message] end |