CLIENTJS-9 added in warning callback for when there are query related errors