Reusing and rewriting method to accommodate both type Response and other objects

前端 未结 0 1540
既然无缘
既然无缘 2021-01-24 10:16

I have an existing method that processes error i get in promise response, like so:

error-handler/operations.js

const makeResourceErrorHandler = resource =&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题