Sha256: e0b44e84a2483407ba4eca5a7844d18673622f9ef8818a35cf2cbac7963ab24d

Contents?: true

Size: 924 Bytes

Versions: 2

Compression:

Stored size: 924 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasJSendResult
        module Entities
          class Result
            module Plugins
              module HelpsToLearnSimilaritiesWithCommonObjects
                module Exceptions
                  class ErrorHasNoOtherTypeRepresentation < ::ConvenientService::Exception
                    ##
                    # @return [void]
                    #
                    def initialize_with_kwargs(type:)
                      message = <<~TEXT
                        Error results have no `#{type}` representation.

                        They are semantically similar to exceptions.
                      TEXT

                      initialize(message)
                    end
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/helps_to_learn_similarities_with_common_objects/exceptions.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/helps_to_learn_similarities_with_common_objects/exceptions.rb