Exception: ConvenientService::Support::Command::Exceptions::CallIsNotOverridden

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(command:) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/convenient_service/support/command.rb', line 11

def initialize_with_kwargs(command:)
  message = <<~TEXT
    Call method (#call) of `#{command.class}` is NOT overridden.
  TEXT

  initialize(message)
end