Sha256: 2468f460e742d3d3db50c2ffca43198d0cdf450f6b73584a6d78ef0cfe6490a7

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require 'dry/plugins/error'

module Dry
  module Plugins
    class Registry
      # Plug-in load error
      class LoadError < Error
        def initialize(name, registry)
          super "Plugin #{name} did not register itself correctly in #{registry}"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dry-plugins-0.4.0 lib/dry/plugins/registry/load_error.rb
dry-plugins-0.3.0 lib/dry/plugins/registry/load_error.rb
dry-plugins-0.2.0 lib/dry/plugins/registry/load_error.rb
dry-plugins-0.1.0 lib/dry/plugins/registry/load_error.rb