Exception: Momento::Error::BadRequestError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Momento::Error::BadRequestError
- Includes:
- Momento::Error
- Defined in:
- lib/momento/error/types.rb
Overview
The request was invalid.
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.
40 41 42 |
# File 'lib/momento/error/types.rb', line 40 def error_code :BAD_REQUEST_ERROR end |
#message ⇒ String
The error message.
45 46 47 |
# File 'lib/momento/error/types.rb', line 45 def "The request was invalid; please contact Momento: #{details}" end |