Exception: ConvenientService::Service::Plugins::HasNegatedResult::Exceptions::NegatedResultIsNotOverridden

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/has_negated_result/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(service:) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/convenient_service/service/plugins/has_negated_result/exceptions.rb', line 9

def initialize_with_kwargs(service:)
  message = <<~TEXT
    Negated result method (#negated_result) of `#{service.class}` is NOT overridden.
  TEXT

  initialize(message)
end