Method: Assertion::InvalidError.new

Defined in:
lib/assertion/invalid_error.rb

.new(*names) ⇒ Assertion::InvalidError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Creates an exception instance

Parameters:

  • names (Symbol, Array<Symbol>)

    Wrong names of attribute(s)

Returns:



# File 'lib/assertion/invalid_error.rb', line 11