You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-backup/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:



183
184
185
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 183

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

Instance Method Details

#codeString

Returns:

  • (String)


188
189
190
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 188

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

#contextString

Returns:

  • (String)


203
204
205
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 203

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


193
194
195
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 193

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

#typeString

Returns:

  • (String)


198
199
200
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 198

def type
  @data[:type]
end