Class: Aws::Neptunedata::Errors::MemoryLimitExceededException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::MemoryLimitExceededException
- Defined in:
- gems/aws-sdk-neptunedata/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.
661 662 663 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 661 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
682 683 684 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 682 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.
668 669 670 671 672 673 674 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 668 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
677 678 679 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 677 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
686 687 688 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 686 def retryable? true end |