Class: Aws::WorkDocs::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkDocs::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-workdocs/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.
337 338 339 |
# File 'lib/aws-sdk-workdocs/errors.rb', line 337 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
342 343 344 |
# File 'lib/aws-sdk-workdocs/errors.rb', line 342 def @message || @data[:message] end |