Class: Aws::Neptunedata::Errors::InvalidArgumentException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidArgumentException.

Parameters:



371
372
373
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 371

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

Instance Method Details

#codeString

Returns:

  • (String)


386
387
388
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 386

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

#detailed_messageString

Returns:

  • (String)


376
377
378
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 376

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


381
382
383
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 381

def request_id
  @data[:request_id]
end