Sha256: 6e35787ddf6f87a95e1ff7516ec7defef1904a5582fe9f0ee2ef862be171fef6

Contents?: true

Size: 498 Bytes

Versions: 4

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasResult
        module Exceptions
          class ResultIsNotOverridden < ::ConvenientService::Exception
            def initialize_with_kwargs(service:)
              message = <<~TEXT
                Result method (#result) of `#{service.class}` is NOT overridden.
              TEXT

              initialize(message)
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.18.0 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.17.0 lib/convenient_service/service/plugins/has_result/exceptions.rb