Class: Aws::Neptunedata::Errors::BadRequestException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BadRequestException.

Parameters:



101
102
103
# File 'lib/aws-sdk-neptunedata/errors.rb', line 101

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

Instance Method Details

#codeString

Returns:

  • (String)


116
117
118
# File 'lib/aws-sdk-neptunedata/errors.rb', line 116

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

#detailed_messageString

Returns:

  • (String)


106
107
108
# File 'lib/aws-sdk-neptunedata/errors.rb', line 106

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


111
112
113
# File 'lib/aws-sdk-neptunedata/errors.rb', line 111

def request_id
  @data[:request_id]
end