hresult wrapper, error msg, run loop