Exception: Fixtury::Errors::OptionCollisionError
- Defined in:
- lib/fixtury/errors.rb
Instance Method Summary collapse
-
#initialize(schema_name, option_key, old_value, new_value) ⇒ OptionCollisionError
constructor
A new instance of OptionCollisionError.
Constructor Details
#initialize(schema_name, option_key, old_value, new_value) ⇒ OptionCollisionError
Returns a new instance of OptionCollisionError.
50 51 52 |
# File 'lib/fixtury/errors.rb', line 50 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 |