Exception: ConvenientService::Support::Cache::Exceptions::NotSupportedBackend

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/support/cache/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(backend:) ⇒ void

This method returns an undefined value.

Parameters:

  • backend (Symbol)


12
13
14
15
16
17
18
19
20
# File 'lib/convenient_service/support/cache/exceptions.rb', line 12

def initialize_with_kwargs(backend:)
  message = "    Backend `\#{backend}` is NOT supported.\n\n    Supported backends are \#{printable_backends}.\n  TEXT\n\n  initialize(message)\nend\n"