I have an existing method that processes error i get in promise response, like so:
error-handler/operations.js
const makeResourceErrorHandler = resource =&