Exception: ConvenientService::Support::DependencyContainer::Exceptions::NotExportableModule Private

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/support/dependency_container/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

API:

  • private

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(mod:) ⇒ 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:

Since:

  • 1.0.0

API:

  • private



42
43
44
45
46
47
48
49
50
# File 'lib/convenient_service/support/dependency_container/exceptions.rb', line 42

def initialize_with_kwargs(mod:)
  message = "    Module `\#{mod}` can NOT export methods.\n\n    Did you forget to include `ConvenientService::DependencyContainer::Export` into it?\n  TEXT\n\n  initialize(message)\nend\n"