Class: Aws::Backup::Errors::MissingParameterValueException

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

Returns a new instance of MissingParameterValueException.

Parameters:



272
273
274
# File 'lib/aws-sdk-backup/errors.rb', line 272

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

Instance Method Details

#codeString

Returns:

  • (String)


277
278
279
# File 'lib/aws-sdk-backup/errors.rb', line 277

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

#contextString

Returns:

  • (String)


292
293
294
# File 'lib/aws-sdk-backup/errors.rb', line 292

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


282
283
284
# File 'lib/aws-sdk-backup/errors.rb', line 282

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

#typeString

Returns:

  • (String)


287
288
289
# File 'lib/aws-sdk-backup/errors.rb', line 287

def type
  @data[:type]
end