Class: Aws::Schemas::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Schemas::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-schemas/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.
192 193 194 |
# File 'lib/aws-sdk-schemas/errors.rb', line 192 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
197 198 199 |
# File 'lib/aws-sdk-schemas/errors.rb', line 197 def code @code || @data[:code] end |
#message ⇒ String
202 203 204 |
# File 'lib/aws-sdk-schemas/errors.rb', line 202 def @message || @data[:message] end |