Class: Aws::Mobile::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Mobile::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-mobile/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
- #message ⇒ String
- #retry_after_seconds ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
130 131 132 |
# File 'lib/aws-sdk-mobile/errors.rb', line 130 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
140 141 142 |
# File 'lib/aws-sdk-mobile/errors.rb', line 140 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
135 136 137 |
# File 'lib/aws-sdk-mobile/errors.rb', line 135 def retry_after_seconds @data[:retry_after_seconds] end |