Class: Aws::B2bi::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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



153
154
155
# File 'lib/aws-sdk-b2bi/errors.rb', line 153

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

Instance Method Details

#messageString



158
159
160
# File 'lib/aws-sdk-b2bi/errors.rb', line 158

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

#retry_after_secondsString



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

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable?Boolean



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

def retryable?
  true
end