Class: Aws::Route53::Errors::InvalidArgument

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidArgument.

Parameters:


390
391
392
# File 'lib/aws-sdk-route53/errors.rb', line 390

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

Instance Method Details

#messageString

Returns:

  • (String)

395
396
397
# File 'lib/aws-sdk-route53/errors.rb', line 395

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