Sha256: 9e9b5c420f4d7b22e4458c9c262e5d3de337968cbc2f3c2053a4247fe8664c6c

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module ROM
  module Factory
    class FactoryNotDefinedError < StandardError
      def initialize(name)
        super("Factory +#{name}+ not defined")
      end
    end

    class UnknownFactoryAttributes < StandardError
      def initialize(attrs)
        super("Unknown attributes: #{attrs.join(", ")}")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-factory-0.13.0 lib/rom/factory/constants.rb
rom-factory-0.12.0 lib/rom/factory/constants.rb
rom-factory-0.11.0 lib/rom/factory/constants.rb