ReduxToolkit how to pass custom error from API into CreateAsync thunk and CreateReducer

后端 未结 0 554
花落未央
花落未央 2021-02-07 04:08

I want to display custom error from API request but I completely don\'t know how to do this via redux toolkit. Below you can see the example.

API:



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