Nicola Sturgeon says the resignation of Liz Truss after 45 days is "beyond hyperbole and parody".