Add ERROR macro to avoid $error extra stack