Sha256: 8666d582191a7945335fc6ec9bc638bb13b99c4390f095d13e87a670909c0672

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Fixtury
  module Errors
    class OptionCollisionError < ::StandardError

      def initialize(schema_name, option_key, old_value, new_value)
        super("The #{schema_name.inspect} schema #{option_key.inspect} option value of #{old_value.inspect} conflicts with the new value #{new_value.inspect}.")
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fixtury-0.4.1 lib/fixtury/errors/option_collision_error.rb