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

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



550
551
552
# File '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



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

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

#detailed_messageString



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

def detailed_message
  @data[:detailed_message]
end

#request_idString



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

def request_id
  @data[:request_id]
end