Exception: ConvenientService::Support::DependencyContainer::Exceptions::InvalidScope

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(scope:) ⇒ void

This method returns an undefined value.

Parameters:

  • scope (Object)


12
13
14
15
16
17
18
19
20
# File 'lib/convenient_service/support/dependency_container/exceptions.rb', line 12

def initialize_with_kwargs(scope:)
  message = "    Scope `\#{scope.inspect}` is NOT valid.\n\n    Valid options are \#{printable_valid_scopes}.\n  TEXT\n\n  initialize(message)\nend\n"