Exception: Momento::Error::UnknownServiceError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Momento::Error::UnknownServiceError
- Includes:
- Momento::Error
- Defined in:
- lib/momento/error/types.rb
Overview
The cache service failed due to an internal error
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.
242 243 244 |
# File 'lib/momento/error/types.rb', line 242 def error_code :UNKNOWN_SERVICE_ERROR end |
#message ⇒ String
The error message.
247 248 249 |
# File 'lib/momento/error/types.rb', line 247 def "The service returned an unknown response; please contact Momento: #{details}" end |