Class: Aws::PrivateNetworks::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PrivateNetworks::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-privatenetworks/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
127 128 129 |
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 127 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
132 133 134 |
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 132 def @message || @data[:message] end |
#retryable? ⇒ Boolean
136 137 138 |
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 136 def retryable? true end |
#throttling? ⇒ Boolean
140 141 142 |
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 140 def throttling? true end |