mysql query execute error

Fatal error: Call to undefined function db_error() in /var/www/gfs-web/libs/advphpfrmwrk/asm_handler.inc.php on line 379