Class: Aws::CodeGuruProfiler::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



116
117
118
# File 'lib/aws-sdk-codeguruprofiler/errors.rb', line 116

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

Instance Method Details

#messageString

Returns:

  • (String)


121
122
123
# File 'lib/aws-sdk-codeguruprofiler/errors.rb', line 121

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

#retryable?Boolean

Returns:

  • (Boolean)


125
126
127
# File 'lib/aws-sdk-codeguruprofiler/errors.rb', line 125

def retryable?
  true
end