"So how was My punishment and My warning?" meaning: My threatening, that is to say: it was severe.
﴿فَكيف كَانَ عَذَابي وَنذر﴾ إنذاري أَي كَانَ شَدِيدا