Exception: Fixtury::Errors::SchemaNodeNameInvalidError

Inherits:
Base
  • Object
show all
Defined in:
lib/fixtury/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent_name, child_name) ⇒ SchemaNodeNameInvalidError

Returns a new instance of SchemaNodeNameInvalidError.



43
44
45
# File 'lib/fixtury/errors.rb', line 43

def initialize(parent_name, child_name)
  super("The schema node name #{child_name.inspect} must start with #{parent_name.inspect} to be added to it.")
end