Exception: ConvenientService::Service::Plugins::HasResult::Exceptions::ResultIsNotOverridden Private

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/has_result/exceptions.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(service:) ⇒ 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



14
15
16
17
18
19
20
# File 'lib/convenient_service/service/plugins/has_result/exceptions.rb', line 14

def initialize_with_kwargs(service:)
  message = <<~TEXT
    Result method (#result) of `#{Utils::Class.display_name(service.class)}` is NOT overridden.
  TEXT

  initialize(message)
end