flight/Engine.php
public function handleError($errno, $errstr, $errfile, $errline) {
        if ($errno & error_reporting()) {
            throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
        }
    }
public function handleError($errno, $errstr, $errfile, $errline) {
        if ($errno & error_reporting()) {
            throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
        }
    }
Custom error handler. Converts errors into exceptions.

@param int $errno Error number
@param int $errstr Error string
@param int $errfile Error file name
@param int $errline Error file line number
@throws \ErrorException