Class: Aws::NimbleStudio::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



178
179
180
# File 'gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/errors.rb', line 178

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

Instance Method Details

#codeString

Returns:

  • (String)


183
184
185
# File 'gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/errors.rb', line 183

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

#contextString

Returns:

  • (String)


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

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


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

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

#retryable?Boolean

Returns:

  • (Boolean)


197
198
199
# File 'gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/errors.rb', line 197

def retryable?
  true
end