Exception: Momento::Error::PermissionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Momento::Error::PermissionError
- Includes:
- Momento::Error
- Defined in:
- lib/momento/error/types.rb
Overview
Insufficient permissions to perform an operation on a cache.
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.
182 183 184 |
# File 'lib/momento/error/types.rb', line 182 def error_code :PERMISSION_ERROR end |
#message ⇒ String
The error message.
187 188 189 |
# File 'lib/momento/error/types.rb', line 187 def "Insufficient permissions to perform an operation on a cache: #{details}" end |