I'm using the new defer API, which is awesome. The one thing I can't figure out is how to access the error that was returned when rendering an error component using Await's errorElement prop:
<Suspense fallback={<HistoryTableSkeletonLoader />}>
<Await resolve={historyTableData} errorElement="Error loading table data"> // would like to render the error message from the server here
{(tableData) => <HistoryTable historyTableData={tableData} />}
</Await>
</Suspense>