Sha256: f5b23dd7684f650c09ae6e2311793d1af850c04c6b88e56694aefc738a47a497

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

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

              super(message)
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.16.0 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.15.0 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.14.0 lib/convenient_service/service/plugins/has_result/exceptions.rb
convenient_service-0.13.0 lib/convenient_service/service/plugins/has_result/exceptions.rb