Class: Aws::Connect::Errors::ServiceQuotaExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceQuotaExceededException.

Parameters:



418
419
420
# File 'lib/aws-sdk-connect/errors.rb', line 418

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

Instance Method Details

#messageString

Returns:

  • (String)


423
424
425
# File 'lib/aws-sdk-connect/errors.rb', line 423

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

#reasonString

Returns:

  • (String)


428
429
430
# File 'lib/aws-sdk-connect/errors.rb', line 428

def reason
  @data[:reason]
end