If we run into an error such as a timeout error seen in T423099: Don't use user's ORES threshold preference when fetching damaging Recent Changes edits for PersonalDashboard on any API request in the Review Changes module we shouldn't spread the undefined data into an object but throw a new Error with the code.
See screenshot below for error in debug console:
Acceptance Criteria:
Fix error handling so that we're not spreading undefined into an object.
Update the handleApiErrors method to handle timeout errors
