Sha256: aa84af73e496ff2f91ddb406ec2fb07d0b113910f4b7f23b38386d559c2137c6

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Dry
  # Shared errors
  #
  # @api public
  module Configurable
    extend Dry::Core::Deprecations["dry-configurable"]

    Error = Class.new(::StandardError)

    FrozenConfigError = Class.new(Error)

    AlreadyIncludedError = Class.new(Error)
    deprecate_constant(
      :AlreadyIncludedError,
      message: "`include Dry::Configurable` more than once (if needed)"
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-configurable-1.3.0 lib/dry/configurable/errors.rb
dry-configurable-1.2.0 lib/dry/configurable/errors.rb