interface: fix the CHECK_ERROR macro to receive various conditions