Class: Aws::NeptuneGraph::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::NeptuneGraph::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/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.
154 155 156 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 154 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
159 160 161 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 159 def @message || @data[:message] end |
#retryable? ⇒ Boolean
163 164 165 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 163 def retryable? true end |
#throttling? ⇒ Boolean
167 168 169 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 167 def throttling? true end |