Class: Aws::Neptunedata::Errors::ReadOnlyViolationException

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

Returns a new instance of ReadOnlyViolationException.

Parameters:



729
730
731
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 729

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

Instance Method Details

#codeString

Returns:

  • (String)


744
745
746
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 744

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

#detailed_messageString

Returns:

  • (String)


734
735
736
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 734

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


739
740
741
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 739

def request_id
  @data[:request_id]
end