Thanks. `res.status !== 0` worked.