Mine (2011 3 litre Roadster) does this with some regularity. I reset it with an OBD-II gizmo which plugs into the plug located behind the centre of the dash (it's on a reasonably long lead - once you've found it you can easily locate it without grovelling under the dash, then just tuck it out of the way when you've finished). You'll need a phone app to control it - details should come with the gizmo - then you can view and turn off the fault codes. Seems to be the car's ECU detecting a slow response from the O2 sensors in the exhaust headers. Nothing to worry about (unless it wont turn off i guess).
Look up OBD-II on Ebay: get one that uses Wi-Fi to connect. Best tenner I've ever spent!
Hope this helps.