Class: Aws::PrivateNetworks::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



127
128
129
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 127

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

Instance Method Details

#messageString

Returns:

  • (String)


132
133
134
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 132

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

#retryable?Boolean

Returns:

  • (Boolean)


136
137
138
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 136

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


140
141
142
# File 'lib/aws-sdk-privatenetworks/errors.rb', line 140

def throttling?
  true
end