Exception: Momento::Error::CancelledError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Momento::Error::CancelledError
- Includes:
- Momento::Error
- Defined in:
- lib/momento/error/types.rb
Overview
The request was cancelled by the server.
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.
55 56 57 |
# File 'lib/momento/error/types.rb', line 55 def error_code :CANCELLED_ERROR end |
#message ⇒ String
The error message.
60 61 62 |
# File 'lib/momento/error/types.rb', line 60 def "The request was cancelled by the server; please contact Momento: #{details}" end |