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



17
18
19
20
21
22
23
24
25
# File 'lib/convenient_service/support/cache/exceptions.rb', line 17

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