Exception: ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Exceptions::ErrorHasNoOtherTypeRepresentation

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_j_send_status_and_attributes/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(type:) ⇒ void

This method returns an undefined value.



30
31
32
33
34
35
36
37
38
# File 'lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_j_send_status_and_attributes/exceptions.rb', line 30

def initialize_with_kwargs(type:)
  message = <<~TEXT
    Error results have no `#{type}` representation.

    They are semantically similar to exceptions.
  TEXT

  initialize(message)
end