Class: Aws::Backup::Errors::LimitExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of LimitExceededException.

Parameters:



242
243
244
# File 'lib/aws-sdk-backup/errors.rb', line 242

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

Instance Method Details

#codeString

Returns:

  • (String)


247
248
249
# File 'lib/aws-sdk-backup/errors.rb', line 247

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

#contextString

Returns:

  • (String)


262
263
264
# File 'lib/aws-sdk-backup/errors.rb', line 262

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


252
253
254
# File 'lib/aws-sdk-backup/errors.rb', line 252

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

#typeString

Returns:

  • (String)


257
258
259
# File 'lib/aws-sdk-backup/errors.rb', line 257

def type
  @data[:type]
end