Class: Aws::EBS::Errors::RequestThrottledException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EBS::Errors::RequestThrottledException
- Defined in:
- lib/aws-sdk-ebs/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RequestThrottledException
constructor
A new instance of RequestThrottledException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RequestThrottledException
Returns a new instance of RequestThrottledException.
115 116 117 |
# File 'lib/aws-sdk-ebs/errors.rb', line 115 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
120 121 122 |
# File 'lib/aws-sdk-ebs/errors.rb', line 120 def @message || @data[:message] end |
#reason ⇒ String
125 126 127 |
# File 'lib/aws-sdk-ebs/errors.rb', line 125 def reason @data[:reason] end |