Class: Aws::Chime::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Chime::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-chime/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
193 194 195 |
# File 'lib/aws-sdk-chime/errors.rb', line 193 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
198 199 200 |
# File 'lib/aws-sdk-chime/errors.rb', line 198 def code @code || @data[:code] end |
#message ⇒ String
203 204 205 |
# File 'lib/aws-sdk-chime/errors.rb', line 203 def @message || @data[:message] end |