Class: Aws::NetworkManager::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



195
196
197
# File 'lib/aws-sdk-networkmanager/errors.rb', line 195

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

Instance Method Details

#messageString

Returns:

  • (String)


200
201
202
# File 'lib/aws-sdk-networkmanager/errors.rb', line 200

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

#retry_after_secondsString

Returns:

  • (String)


205
206
207
# File 'lib/aws-sdk-networkmanager/errors.rb', line 205

def retry_after_seconds
  @data[:retry_after_seconds]
end