Sha256: 47376ea994d60f9be4af8b1ddb314349721f821ef268a392dfc1b42d759110f4

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

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

              initialize(message)
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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