Expose HTTP status and reason to onResourceError (#12252).
Merge pull request #12287 from zackw/expose-http-status-to-onresourceerror

Expose HTTP status and reason to onResourceError (#12252).