Exception: ConvenientService::Common::Plugins::CanHaveUserProvidedEntity::Exceptions::ProtoEntityHasNoConcern

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(proto_entity:) ⇒ Object



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/convenient_service/common/plugins/can_have_user_provided_entity/exceptions.rb', line 26

def initialize_with_kwargs(proto_entity:)
  message = "    Proto entity `\#{proto_entity}` has no concern.\n\n    Have a look at `ConvenientService::Service::Plugins::HasJSendResult::Entities::Result`.\n\n    It is an example of a valid proto entity.\n  TEXT\n\n  initialize(message)\nend\n"