src/Core/Error/ErrorManager.php
public function error($code, $message, $file, $line, $context = null)
    {
        if (error_reporting() === 0) {
            return;
        }

        $content = sprintf('%s. File: %s (line: %s)', $message, $file, $line);

        throw new \ErrorException($content, 500, $code, $file, $line, new \Error());
    }
public function error($code, $message, $file, $line, $context = null)
    {
        if (error_reporting() === 0) {
            return;
        }

        $content = sprintf('%s. File: %s (line: %s)', $message, $file, $line);

        throw new \ErrorException($content, 500, $code, $file, $line, new \Error());
    }
public function error ( $ code , $ message , $ file , $ line , $ context = null ) { if ( error_reporting ( ) === 0 ) { return ; } $ content = sprintf ( '%s. File: %s (line: %s)' , $ message , $ file , $ line ) ; throw new \ ErrorException ( $ content , 500 , $ code , $ file , $ line , new \ Error ( ) ) ; }
The error handler.

@param   integer $code    The level of the error raised, as an integer.
@param   string  $message The error message, as a string.
@param   string  $file    The filename that the error was raised in, as a string.
@param   integer $line    The line number the error was raised at, as an integer.
@param   mixed   $context An array that contains variables in the scope which this error occurred.

@throws  \ErrorException
@return  void

@see  http://php.net/manual/en/function.set-error-handler.php
The error handler .