I was adding an error handler to a function and about to write some code but Github Copilot suggested something else. At first I disagreed, then I realized it was right.
If you're a developer I can't recommend Github Copilot enough. If you don't have it, get it.
They claim it writes 50% of your code, on average. I can attest to that, if not more.