Ah yes ad hoc, the best way to write fundamental utilities underpinning every fetch your app makes.

Wrapping fetch is not rocket science