Exception: Momento::Error::UnknownError

Inherits:
RuntimeError
  • Object
show all
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

Methods included from Momento::Error

#to_s

Instance Method Details

#error_codeSymbol

A Momento-specific code for the type of error.

Returns:

  • (Symbol)


227
228
229
# File 'lib/momento/error/types.rb', line 227

def error_code
  :UNKNOWN_ERROR
end

#messageString

The error message.

Returns:

  • (String)


232
233
234
# File 'lib/momento/error/types.rb', line 232

def message
  "CacheService failed due to an internal error"
end