Also see my comment on the IConnection.LastError.