src/MvcCore/Ext/Form.php
protected function throwNewInvalidArgumentException ($errorMsg) {
		$selfClass = version_compare(PHP_VERSION, '5.5', '>') ? self::class : __CLASS__;
		$str = '['.$selfClass.'] ' . $errorMsg . ' ('
			. 'form id: `'.$this->id . '`, '
			. 'form type: `'.get_class($this->form).'`'
		.')';
		throw new \InvalidArgumentException($str);
	}
protected function throwNewInvalidArgumentException ($errorMsg) {
		$selfClass = version_compare(PHP_VERSION, '5.5', '>') ? self::class : __CLASS__;
		$str = '['.$selfClass.'] ' . $errorMsg . ' ('
			. 'form id: `'.$this->id . '`, '
			. 'form type: `'.get_class($this->form).'`'
		.')';
		throw new \InvalidArgumentException($str);
	}
protected function throwNewInvalidArgumentException ( $ errorMsg ) { $ selfClass = version_compare ( PHP_VERSION , '5.5' , '>' ) ? self :: class : __CLASS__ ; $ str = '[' . $ selfClass . '] ' . $ errorMsg . ' (' . 'form id: `' . $ this -> id . '`, ' . 'form type: `' . get_class ( $ this -> form ) . '`' . ')' ; throw new \ InvalidArgumentException ( $ str ) ; }
Throw new `\InvalidArgumentException` with given
error message and append automatically current class name,
current form id and form class type.
@param string $errorMsg
@throws \InvalidArgumentException
Throw new \ InvalidArgumentException with given error message and append automatically current class name current form id and form class type .