Expose HTTP status and reason to onResourceError (#12252).
Merge branch 'expose-http-status-to-onresourceerror'