Class: Aws::Account::Errors::ResourceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Account::Errors::ResourceUnavailableException
- Defined in:
- gems/aws-sdk-account/lib/aws-sdk-account/errors.rb
Instance Method Summary collapse
-
#error_type ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
constructor
A new instance of ResourceUnavailableException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
Returns a new instance of ResourceUnavailableException.
133 134 135 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 133 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_type ⇒ String
138 139 140 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 138 def error_type @data[:error_type] end |
#message ⇒ String
143 144 145 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 143 def @message || @data[:message] end |