set error message, not the error object