Class: Aws::NimbleStudio::Errors::ServiceQuotaExceededException

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) ⇒ ServiceQuotaExceededException

Returns a new instance of ServiceQuotaExceededException.

Parameters:



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

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

Instance Method Details

#codeString

Returns:

  • (String)


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

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

#contextString

Returns:

  • (String)


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

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


168
169
170
# File 'gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/errors.rb', line 168

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