Class: Aws::Neptunedata::Errors::TimeLimitExceededException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::TimeLimitExceededException
- 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) ⇒ TimeLimitExceededException
constructor
A new instance of TimeLimitExceededException.
-
#request_id ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TimeLimitExceededException
Returns a new instance of TimeLimitExceededException.
1142 1143 1144 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1142 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
1163 1164 1165 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1163 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.
1149 1150 1151 1152 1153 1154 1155 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1149 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
1158 1159 1160 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1158 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
1167 1168 1169 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1167 def retryable? true end |