Class: Aws::Neptunedata::Errors::MethodNotAllowedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::MethodNotAllowedException
- Defined in:
- lib/aws-sdk-neptunedata/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #detailed_message ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MethodNotAllowedException
constructor
A new instance of MethodNotAllowedException.
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MethodNotAllowedException
Returns a new instance of MethodNotAllowedException.
550 551 552 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 550 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
565 566 567 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 565 def code @code || @data[:code] end |
#detailed_message ⇒ String
555 556 557 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 555 def @data[:detailed_message] end |
#request_id ⇒ String
560 561 562 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 560 def request_id @data[:request_id] end |