src/main/php/environments/errorhandler/InvalidArgument.php
public function handle($level, $message, $file = null, $line = null, array $context = [])
    {
        throw new \InvalidArgumentException(
                $message . ' @ ' . $file . ' on line ' . $line
        );
    }
public function handle($level, $message, $file = null, $line = null, array $context = [])
    {
        throw new \InvalidArgumentException(
                $message . ' @ ' . $file . ' on line ' . $line
        );
    }
handles the given error

@param   int     $level    level of the raised error
@param   string  $message  error message
@param   string  $file     filename that the error was raised in
@param   int     $line     line number the error was raised at
@param   array   $context  array of every variable that existed in the scope the error was triggered in
@return  bool    true if error message should populate $php_errormsg, else false
@throws  \InvalidArgumentException