Class: Aws::IoTSiteWise::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTSiteWise::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-iotsitewise/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.
221 222 223 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 221 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
226 227 228 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 226 def @message || @data[:message] end |