Class: Aws::Neptunedata::Errors::FailureByQueryException

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

Returns a new instance of FailureByQueryException.

Parameters:



292
293
294
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 292

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

Instance Method Details

#codeString

Returns:

  • (String)


307
308
309
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 307

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

#detailed_messageString

Returns:

  • (String)


297
298
299
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 297

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


302
303
304
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 302

def request_id
  @data[:request_id]
end

#retryable?Boolean

Returns:

  • (Boolean)


311
312
313
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 311

def retryable?
  true
end