Prado\PradoBase::phpErrorHandler PHP Метод

phpErrorHandler() публичный статический Метод

This method should be registered as PHP error handler using {@link set_error_handler}. The method throws an exception that contains the error information.
public static phpErrorHandler ( $errno, $errstr, $errfile, $errline )
    public static function phpErrorHandler($errno, $errstr, $errfile, $errline)
    {
        if (error_reporting() & $errno) {
            throw new TPhpErrorException($errno, $errstr, $errfile, $errline);
        }
    }