Class: Aws::Omics::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



180
181
182
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/errors.rb', line 180

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

Instance Method Details

#messageString

Returns:

  • (String)


185
186
187
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/errors.rb', line 185

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

#retryable?Boolean

Returns:

  • (Boolean)


189
190
191
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/errors.rb', line 189

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


193
194
195
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/errors.rb', line 193

def throttling?
  true
end