Class: Aws::NeptuneGraph::Errors::ThrottlingException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException

Returns a new instance of ThrottlingException.

Parameters:



154
155
156
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 154

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


159
160
161
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 159

def message
  @message || @data[:message]
end

#retryable?Boolean

Returns:

  • (Boolean)


163
164
165
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 163

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


167
168
169
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 167

def throttling?
  true
end