Class: Aws::Neptunedata::Errors::ClientTimeoutException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::ClientTimeoutException
- 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) ⇒ ClientTimeoutException
constructor
A new instance of ClientTimeoutException.
-
#request_id ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ClientTimeoutException
Returns a new instance of ClientTimeoutException.
242 243 244 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 242 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
263 264 265 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 263 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.
249 250 251 252 253 254 255 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 249 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
258 259 260 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 258 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
267 268 269 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 267 def retryable? true end |