Class: Aws::Neptunedata::Errors::PreconditionsFailedException

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

Returns a new instance of PreconditionsFailedException.

Parameters:



625
626
627
# File 'lib/aws-sdk-neptunedata/errors.rb', line 625

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

Instance Method Details

#codeString

Returns:

  • (String)


640
641
642
# File 'lib/aws-sdk-neptunedata/errors.rb', line 640

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

#detailed_messageString

Returns:

  • (String)


630
631
632
# File 'lib/aws-sdk-neptunedata/errors.rb', line 630

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


635
636
637
# File 'lib/aws-sdk-neptunedata/errors.rb', line 635

def request_id
  @data[:request_id]
end