Exception: Momento::Error::TimeoutError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Momento::Error::TimeoutError
- Includes:
- Momento::Error
- Defined in:
- lib/momento/error/types.rb
Overview
The client’s configured timeout was exceeded.
Instance Attribute Summary
Attributes included from Momento::Error
#cause, #context, #details, #transport_details
Instance Method Summary collapse
-
#error_code ⇒ Symbol
A Momento-specific code for the type of error.
-
#message ⇒ String
The error message.
Methods included from Momento::Error
Instance Method Details
#error_code ⇒ Symbol
A Momento-specific code for the type of error.
265 266 267 |
# File 'lib/momento/error/types.rb', line 265 def error_code :TIMEOUT_ERROR end |
#message ⇒ String
The error message.
270 271 272 |
# File 'lib/momento/error/types.rb', line 270 def "The client's configured timeout was exceeded; you may need to use a Configuration with more lenient timeouts. Timeout value: #{context[:timeout]}" end |