Class: Aws::Neptunedata::Errors::MalformedQueryException

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

Returns a new instance of MalformedQueryException.

Parameters:



496
497
498
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 496

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

Instance Method Details

#codeString

Returns:

  • (String)


511
512
513
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 511

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

#detailed_messageString

Returns:

  • (String)


501
502
503
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 501

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


506
507
508
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 506

def request_id
  @data[:request_id]
end