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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(command:) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0



16
17
18
19
20
21
22
# File 'lib/convenient_service/support/command.rb', line 16

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

  initialize(message)
end