Class: Aws::Neptunedata::Errors::MemoryLimitExceededException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::MemoryLimitExceededException
- Defined in:
- lib/aws-sdk-neptunedata/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #detailed_message(**kwargs) ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MemoryLimitExceededException
constructor
A new instance of MemoryLimitExceededException.
- #request_id ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MemoryLimitExceededException
Returns a new instance of MemoryLimitExceededException.
623 624 625 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 623 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
644 645 646 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 644 def code @code || @data[:code] end |
#detailed_message(**kwargs) ⇒ String
Note:
This member shadows Exception#detailed_message on Ruby 3.2+. Use ‘error.data.detailed_message` to access the API member directly.
630 631 632 633 634 635 636 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 630 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
639 640 641 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 639 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
648 649 650 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 648 def retryable? true end |