I asked a similar question back in 2015, but I'm not sure if the answer there applies: viewtopic.php?f=6&t=12742&p=24852&hilit=%3AOnLoadError#p24852
I'm not asking about retrying a server error like 500 or 404, I'd like to be able to retry some chromium network errors, in particular -101 = NET_ERROR(CONNECTION_RESET, -101)
OnResourceResponse look like it would let me retry HTTP errors but not errors like -101 since I can only look at the response header not chromium errors. Am I wrong and a header with the network error gets added? (If yes, a sample would be very helpful.)
OnLoadError is missing the request object and has no built-in retry option, so the only way I could see to use it would be to do my own caching of requests for frames in some earlier event, then use that cached request if I want to retry. Can anyone suggest a better approach?