public function handleError($errno, $errstr, $errfile, $errline)
    {
        if (!$this['debug']) {
            return;
        }

        throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
    }
public function handleError($errno, $errstr, $errfile, $errline)
    {
        if (!$this['debug']) {
            return;
        }

        throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
    }
public function handleError ( $ errno , $ errstr , $ errfile , $ errline ) { if ( ! $ this [ 'debug' ] ) { return ; } throw new \ ErrorException ( $ errstr , 0 , $ errno , $ errfile , $ errline ) ; }
A generic error handler, will convert errors into exceptions in debug mode.

@param  int            $errno
@param  string         $errstr
@param  string         $errfile
@param  int            $errline
@throws ErrorException
A generic error handler will convert errors into exceptions in debug mode .