Exception: ConvenientService::Service::Plugins::CanHaveInlineServices::Exceptions::InlineServiceIsAlreadyDefined Private

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

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.

This method returns an undefined value.

Parameters:

  • object (Object)

    Can be any type.

Since:

  • 1.0.0



18
19
20
21
22
23
24
# File 'lib/convenient_service/service/plugins/can_have_inline_services/exceptions.rb', line 18

def initialize_with_kwargs(object:)
  message = <<~TEXT
    Definition of already defined inline service can NOT be modified.
  TEXT

  initialize(message)
end