Class: Aws::Neptunedata::Errors::MethodNotAllowedException

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

Returns a new instance of MethodNotAllowedException.

Parameters:



550
551
552
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 550

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

Instance Method Details

#codeString

Returns:

  • (String)


565
566
567
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 565

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

#detailed_messageString

Returns:

  • (String)


555
556
557
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 555

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


560
561
562
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 560

def request_id
  @data[:request_id]
end