8. How do you handle API errors inside a thunk? | Thunk | RTK Interview Questions | NextRound.in