make error message global var, so routine can be inline expanded