Class: Aws::CloudWatchEvidently::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudWatchEvidently::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-cloudwatchevidently/errors.rb
Instance Method Summary collapse
-
#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.
165 166 167 |
# File 'lib/aws-sdk-cloudwatchevidently/errors.rb', line 165 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
170 171 172 |
# File 'lib/aws-sdk-cloudwatchevidently/errors.rb', line 170 def @message || @data[:message] end |